Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap attach commands
"""

from lldbsuite.test.decorators import skipIfNetBSD, skipIfWasm
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import AttachArgs, PauseArgs

Expand Down
8 changes: 1 addition & 7 deletions lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
from pathlib import Path

from lldbsuite.test import lldbutil
from lldbsuite.test.decorators import (
expectedFailureWindows,
expectedFailureWindowsAndNoLLDBServer,
requireNotWasm,
skipIf,
skipIfWindowsAndLLDBServer,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import (
AttachArgs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from lldbgdbserverutils import Pipe
from lldbsuite.test import lldbplatformutil
from lldbsuite.test.decorators import skipIfNetBSD, skipIfWasm, skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import AttachArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap setBreakpoints request in assembly source references.
"""

from lldbsuite.test.decorators import skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
import os
from typing import List

from lldbsuite.test.decorators import (
skipIfTargetDoesNotSupportSharedLibraries,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

import os

from lldbsuite.test.decorators import (
skipIfTargetDoesNotSupportSharedLibraries,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import BreakpointLocation, LaunchArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

import os

from lldbsuite.test.decorators import (
skipIfTargetDoesNotSupportSharedLibraries,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase, DAPTestSession
from lldbsuite.test.tools.lldb_dap.types import (
Expand All @@ -16,7 +13,6 @@
StoppedEvent,
)


@skipIfTargetDoesNotSupportSharedLibraries()
class TestDAP_logpoints(DAPTestCaseBase):
def setUp(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
import shutil
from typing import Dict

from lldbsuite.test.decorators import (
skipIfTargetDoesNotSupportSharedLibraries,
skipIfWasm,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
Test lldb-dap setExceptionBreakpoints request
"""

from lldbsuite.test.decorators import (
skipIfTargetDoesNotSupportSharedLibraries,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
Test lldb-dap setFunctionBreakpoints request
"""

from lldbsuite.test.decorators import (
skipIfTargetDoesNotSupportSharedLibraries,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import (
DAPTestGetTargetBreakpointsArgs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from typing import Optional, Union

from lldbsuite.test.decorators import skipIf
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase, DAPTestSession
from lldbsuite.test.tools.lldb_dap.types import (
Expand All @@ -16,7 +16,6 @@
StoppedReason,
)


session_completion = CompletionItem(
label="session",
detail="Commands controlling LLDB session.",
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os
import unittest

from lldbsuite.test.decorators import requireNotWindows, requireNotWasm
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase, DAPTestSession
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap dataBreakpointInfo and setDataBreakpoints requests
"""

from lldbsuite.test.decorators import requireNotWasm, skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import DataBreakpoint, LaunchArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap disassemble request
"""

from lldbsuite.test.decorators import skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import re
from typing import Optional, Union

from lldbsuite.test.decorators import skipIfWasm, skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.session_helpers import ExpectEval, FrameContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

import json

from lldbsuite.test.decorators import (
skipIfRemote,
skipIfTargetDoesNotSupportSharedLibraries,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import InitializedEvent, LaunchArgs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Test exception behavior in DAP with signal.
"""

from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.decorators import requireSignals
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test that we stop at runtime instrumentation locations (asan).
"""

from lldbsuite.test.decorators import skipUnlessAddressSanitizer
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test exception behavior in DAP with c++ throw.
"""

from lldbsuite.test.decorators import skipIfWasm, skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Test exception behavior in DAP with obj-c throw.
"""

from lldbsuite.test.decorators import requireDarwin
from lldbsuite.test.tools.lldb_dap.types import ExceptionFilterOptions, LaunchArgs
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import ExceptionFilterOptions, LaunchArgs


class TestDAP_exception_objc(DAPTestCaseBase):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test that we stop at runtime instrumentation locations (ubsan).
"""

from lldbsuite.test.decorators import skipUnlessUndefinedBehaviorSanitizer
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import os

from lldbsuite.test.decorators import requireDarwin
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbplatformutil import findBacktraceRecordingDylib
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import os

from lldbsuite.test.decorators import skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
know about it.
"""

from lldbsuite.test.decorators import skipIfWasm
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap launch request.
"""

from lldbsuite.test.decorators import skipIf
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import os

from lldbsuite.test.decorators import skipIfWasm
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap launch request.
"""

from lldbsuite.test.decorators import skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap launch request.
"""

from lldbsuite.test.decorators import skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap launch request.
"""

from lldbsuite.test.decorators import skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap launch request.
"""

from lldbsuite.test.decorators import skipIf
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import os

from lldbsuite.test.decorators import expectedFailureAll, skipIfLinux, skipIfWasm
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@

import tempfile

from lldbsuite.test.decorators import (
no_match,
skipIf,
skipIfAsan,
skipIfBuildType,
skipIfWasm,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import Console, LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap launch request.
"""

from lldbsuite.test.decorators import skipIf, skipIfNetBSD
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap launch request.
"""

from lldbsuite.test.decorators import requireWindows, skipIfBuildType
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs, Console
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from typing import List
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@
"""

from DAP_launch_io import DAP_launchIO
from lldbsuite.test.decorators import (
skipIfAsan,
skipIfBuildType,
skipIfRemote,
skipIfWasm,
skipIfWindows,
)
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestSession
from lldbsuite.test.tools.lldb_dap.types import Console, RunInTerminalRequest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""

from DAP_launch_io import DAP_launchIO
from lldbsuite.test.decorators import skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.tools.lldb_dap import DAPTestSession
from lldbsuite.test.tools.lldb_dap.types import Console

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Test lldb-dap locations request
"""

from lldbsuite.test.decorators import skipIf, skipIfWasm, skipIfWindows
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
from lldbsuite.test.tools.lldb_dap.types import LaunchArgs
Expand Down
Loading
Loading