Skip to content

Commit 84cfdf8

Browse files
committed
Test fixes
1 parent 52c587e commit 84cfdf8

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_with_run_command(self):
3939
def cleanup():
4040
self.runCmd("type format clear", check=False)
4141
self.runCmd("type summary clear", check=False)
42-
self.runCmd("settings set target.max-children-count 256", check=False)
42+
self.runCmd("settings set target.max-children-count 24", check=False)
4343

4444
# Execute the cleanup function during test case tear down.
4545
self.addTearDownHook(cleanup)

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def do_test(self, stdlib_type):
7373
self.expect(
7474
"frame variable thousand_elts",
7575
matching=True,
76-
substrs=["size=256", "[0]", "[1]", "[2]", "..."],
76+
substrs=["size=24", "[0]", "[1]", "[2]", "..."],
7777
)
7878

7979
def do_test_ptr_and_ref(self, stdlib_type):

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ def cleanup():
4747
# Execute the cleanup function during test case tear down.
4848
self.addTearDownHook(cleanup)
4949

50-
self.runCmd("settings set target.max-children-count 49", check=False)
51-
5250
self.expect(
53-
"frame variable vBool",
51+
"frame variable -A vBool",
5452
substrs=[
5553
"size=49",
5654
"[0] = false",
@@ -64,7 +62,7 @@ def cleanup():
6462
)
6563

6664
self.expect(
67-
"expr vBool",
65+
"expr -A -- vBool",
6866
substrs=[
6967
"size=49",
7068
"[0] = false",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def cleanup():
4747
self.addTearDownHook(cleanup)
4848

4949
self.expect(
50-
"frame variable vBool",
50+
"frame variable -A vBool",
5151
substrs=[
5252
"size=49",
5353
"[0] = false",
@@ -61,7 +61,7 @@ def cleanup():
6161
)
6262

6363
self.expect(
64-
"expr vBool",
64+
"expr -A -- vBool",
6565
substrs=[
6666
"size=49",
6767
"[0] = false",

0 commit comments

Comments
 (0)