summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py4
2 files changed, 6 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py b/lldb/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py
index 30a190b27de..864b401de6f 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py
@@ -23,7 +23,8 @@ class TestVLA(TestBase):
var_opts.SetIncludeRuntimeSupportValues(False)
var_opts.SetUseDynamic(lldb.eDynamicCanRunTarget)
all_locals = self.frame().GetVariables(var_opts)
- self.assertEqual(len(all_locals), 1)
+ for value in all_locals:
+ self.assertFalse("vla_expr" in value.name)
def test(a, array):
for i in range(a):
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py b/lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py
index 04b2fa22f16..5fe14fe5e5a 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py
@@ -13,6 +13,10 @@ class TestObjCXXHideRuntimeSupportValues(TestBase):
def setUp(self):
TestBase.setUp(self)
+ @skipIfFreeBSD
+ @skipIfLinux
+ @skipIfWindows
+ @skipIfNetBSD
def test_hide_runtime_support_values(self):
self.build()
_, process, _, _ = lldbutil.run_to_source_breakpoint(
OpenPOWER on IntegriCloud