Skip to content

Commit ddf0442

Browse files
committed
[lldb] Mark several tests as not dependent on debug info
Summary: This just adds `NO_DEBUG_INFO_TESTCASE` to tests that don't really exercise anything debug information specific and therefore don't need to be rerun for all debug information variants. Reviewers: labath, jingham, aprantl, mib, jfb Reviewed By: aprantl Subscribers: dexonsmith, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D72447
1 parent 3cad8ad commit ddf0442

File tree

40 files changed

+42
-39
lines changed

40 files changed

+42
-39
lines changed

lldb/packages/Python/lldbsuite/test/commands/apropos/with-process/TestAproposWithProcess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
class AproposWithProcessTestCase(TestBase):
1313

1414
mydir = TestBase.compute_mydir(__file__)
15+
NO_DEBUG_INFO_TESTCASE = True
1516

1617
def setUp(self):
1718
# Call super's setUp().

lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
class NestedAliasTestCase(TestBase):
1313

1414
mydir = TestBase.compute_mydir(__file__)
15+
NO_DEBUG_INFO_TESTCASE = True
1516

1617
def setUp(self):
1718
# Call super's setUp().

lldb/packages/Python/lldbsuite/test/commands/command/script_alias/TestCommandScriptAlias.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
class CommandScriptAliasTestCase(TestBase):
1212

1313
mydir = TestBase.compute_mydir(__file__)
14+
NO_DEBUG_INFO_TESTCASE = True
1415

1516
def test_pycmd(self):
1617
self.runCmd("command script import tcsacmd.py")

lldb/packages/Python/lldbsuite/test/commands/expression/calculator_mode/TestCalculatorMode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
class TestCalculatorMode(TestBase):
1414

1515
mydir = TestBase.compute_mydir(__file__)
16+
NO_DEBUG_INFO_TESTCASE = True
1617

1718
def test__calculator_mode(self):
1819
"""Test calling expressions in the dummy target."""

lldb/packages/Python/lldbsuite/test/commands/process/attach-resume/TestAttachResume.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
class AttachResumeTestCase(TestBase):
1616

1717
mydir = TestBase.compute_mydir(__file__)
18+
NO_DEBUG_INFO_TESTCASE = True
1819

1920
@skipIfRemote
2021
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr19310')

lldb/packages/Python/lldbsuite/test/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
class LaunchWithShellExpandTestCase(TestBase):
1414

1515
mydir = TestBase.compute_mydir(__file__)
16+
NO_DEBUG_INFO_TESTCASE = True
1617

1718
@expectedFailureAll(
1819
oslist=[

lldb/packages/Python/lldbsuite/test/commands/statistics/basic/TestStats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
from lldbsuite.test import decorators
33

44
lldbinline.MakeInlineTest(
5-
__file__, globals(), [])
5+
__file__, globals(), [decorators.no_debug_info_test])

lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
class NoSuchArchTestCase(TestBase):
1212

1313
mydir = TestBase.compute_mydir(__file__)
14+
NO_DEBUG_INFO_TESTCASE = True
1415

1516
def test(self):
1617
self.build()

lldb/packages/Python/lldbsuite/test/commands/watchpoints/hello_watchlocation/TestWatchLocation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
class HelloWatchLocationTestCase(TestBase):
1515

1616
mydir = TestBase.compute_mydir(__file__)
17+
NO_DEBUG_INFO_TESTCASE = True
1718

1819
def setUp(self):
1920
# Call super's setUp().

lldb/packages/Python/lldbsuite/test/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
class HelloWatchpointTestCase(TestBase):
1414

1515
mydir = TestBase.compute_mydir(__file__)
16+
NO_DEBUG_INFO_TESTCASE = True
1617

1718
def setUp(self):
1819
# Call super's setUp().

0 commit comments

Comments
 (0)