Skip to content

Commit 522d743

Browse files
authored
[lldb][test] Run generic set formatter test-case on specified STL (#146882)
Previously the parameter wasn't respected. So we would only run the test with whatever stdlib the `Makefile.rules` deduced. Confirmed that ``` lldb-dotest -p TestDataFormatterGenericSet.py --category libstdcxx ``` passes on my machine.
1 parent 6440b10 commit 522d743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_with_run_command_libcpp(self):
137137

138138
def do_test_ref_and_ptr(self, stdlib_type):
139139
"""Test that the data formatters work on ref and ptr."""
140-
self.build()
140+
self.build(dictionary={stdlib_type: "1"})
141141
(self.target, process, _, bkpt) = lldbutil.run_to_source_breakpoint(
142142
self,
143143
"Stop here to check by ref and ptr.",

0 commit comments

Comments
 (0)