Fix tests on non-Darwin platforms.

llvm-svn: 359846
This commit is contained in:
Adrian Prantl 2019-05-02 23:49:55 +00:00
parent 0363c3b8bb
commit a0ac5afb0a
2 changed files with 6 additions and 1 deletions

View File

@ -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):

View File

@ -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(