You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lldb][test] Consolidate libstdc++ and libc++ vector formatter tests into generic test
The libstdc++ test was a subset of the tests in libc++. This test moves
the libc++ test into `generic` and removes the `libstdc++` tests. I
retained the `-D_GLIBCXX_DEBUG` test cases though.
Split out from llvm#146740
Copy file name to clipboardExpand all lines: lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector-libstdcxx/TestDataFormatterStdVector.py
Copy file name to clipboardExpand all lines: lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
+32-1Lines changed: 32 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -168,9 +168,24 @@ def cleanup():
168
168
169
169
self.expect("frame variable strings", substrs=["vector has 0 items"])
170
170
171
+
@add_test_categories(["libstdcxx"])
172
+
deftest_libstdcxx(self):
173
+
self.build(dictionary={"USE_LIBSTDCPP" : 1})
174
+
self.do_test()
175
+
176
+
@add_test_categories(["libstdcxx"])
177
+
deftest_libstdcxx_debug(self):
178
+
self.build(dictionary={"USE_LIBSTDCPP" : 1,
179
+
"CXXFLAGS_EXTRAS": "-D_GLIBCXX_DEBUG"})
180
+
self.do_test()
181
+
182
+
@add_test_categories(["libc++"])
183
+
deftest_libcxx(self):
184
+
self.build(dictionary={"USE_LIBCPP" : 1})
185
+
self.do_test()
186
+
171
187
defdo_test_ref_and_ptr(self):
172
188
"""Test that that file and class static variables display correctly."""
0 commit comments