Skip to content

Commit a0ac5af

Browse files
committed
Fix tests on non-Darwin platforms.
llvm-svn: 359846
1 parent 0363c3b commit a0ac5af

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lldb/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def test_vla(self):
2323
var_opts.SetIncludeRuntimeSupportValues(False)
2424
var_opts.SetUseDynamic(lldb.eDynamicCanRunTarget)
2525
all_locals = self.frame().GetVariables(var_opts)
26-
self.assertEqual(len(all_locals), 1)
26+
for value in all_locals:
27+
self.assertFalse("vla_expr" in value.name)
2728

2829
def test(a, array):
2930
for i in range(a):

lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class TestObjCXXHideRuntimeSupportValues(TestBase):
1313
def setUp(self):
1414
TestBase.setUp(self)
1515

16+
@skipIfFreeBSD
17+
@skipIfLinux
18+
@skipIfWindows
19+
@skipIfNetBSD
1620
def test_hide_runtime_support_values(self):
1721
self.build()
1822
_, process, _, _ = lldbutil.run_to_source_breakpoint(

0 commit comments

Comments
 (0)