Skip to content

Commit de2a86e

Browse files
authored
[LLDB] Run working STL data formatter tests with PDB (#166812)
This enables testing with PDB for all tests that don't require any changes to pass. I ran the `lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic` tests locally and they passed.
1 parent 321de63 commit de2a86e

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/TestDataFormatterStdMap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class StdMapDataFormatterTestCase(TestBase):
12+
TEST_WITH_PDB_DEBUG_INFO = True
13+
1214
def setUp(self):
1315
TestBase.setUp(self)
1416
ns = "ndk" if lldbplatformutil.target_is_android() else ""

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212

1313
class GenericMultiMapDataFormatterTestCase(TestBase):
14+
TEST_WITH_PDB_DEBUG_INFO = True
15+
1416
def setUp(self):
1517
TestBase.setUp(self)
1618
self.namespace = "std"

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111

1212
class GenericMultiSetDataFormatterTestCase(TestBase):
13+
TEST_WITH_PDB_DEBUG_INFO = True
14+
1315
def setUp(self):
1416
TestBase.setUp(self)
1517
self.namespace = "std"

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111

1212
class GenericSetDataFormatterTestCase(TestBase):
13+
TEST_WITH_PDB_DEBUG_INFO = True
14+
1315
def setUp(self):
1416
TestBase.setUp(self)
1517
self.namespace = "std"

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class TestDataFormatterStdTuple(TestBase):
12+
TEST_WITH_PDB_DEBUG_INFO = True
13+
1214
def setUp(self):
1315
TestBase.setUp(self)
1416
self.line = line_number("main.cpp", "// break here")

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010

1111
class StdVBoolDataFormatterTestCase(TestBase):
12+
TEST_WITH_PDB_DEBUG_INFO = True
13+
1214
def setUp(self):
1315
# Call super's setUp().
1416
TestBase.setUp(self)

0 commit comments

Comments
 (0)