Skip to content

Commit

Permalink
Fix tests on non-Darwin platforms.
Browse files Browse the repository at this point in the history
llvm-svn: 359846
  • Loading branch information
adrian-prantl authored and MrSidims committed May 17, 2019
1 parent 8a177b0 commit bb74a0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lldb/packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def test_vla(self):
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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bb74a0d

Please sign in to comment.