Author: adrian Date: Thu May 2 16:49:55 2019 New Revision: 359846 URL: http://llvm.org/viewvc/llvm-project?rev=359846&view=rev Log: Fix tests on non-Darwin platforms.
Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py?rev=359846&r1=359845&r2=359846&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py Thu May 2 16:49:55 2019 @@ -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): Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py?rev=359846&r1=359845&r2=359846&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objcxx/hide-runtime-values/TestObjCXXHideRuntimeValues.py Thu May 2 16:49:55 2019 @@ -13,6 +13,10 @@ class TestObjCXXHideRuntimeSupportValues 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( _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits