From be7d285e73b5ed46ff83abdb5b1e1c92bf5626fe Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Thu, 16 Oct 2014 22:04:05 +0000 Subject: [PATCH] This test actually works alright - we were just checking for the wrong string llvm-svn: 219971 --- lldb/test/lang/c/anonymous/TestAnonymous.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lldb/test/lang/c/anonymous/TestAnonymous.py b/lldb/test/lang/c/anonymous/TestAnonymous.py index 93f232a..da642b9 100644 --- a/lldb/test/lang/c/anonymous/TestAnonymous.py +++ b/lldb/test/lang/c/anonymous/TestAnonymous.py @@ -30,7 +30,6 @@ class AnonymousTestCase(TestBase): self.buildDsym() self.expr_parent() - @unittest2.expectedFailure # llvm.org/pr15591 @dsym_test def test_expr_null(self): self.buildDsym() @@ -66,7 +65,6 @@ class AnonymousTestCase(TestBase): self.buildDwarf() self.expr_parent() - @unittest2.expectedFailure # llvm.org/pr15591 @dwarf_test def test_expr_null(self): self.buildDwarf() @@ -151,8 +149,7 @@ class AnonymousTestCase(TestBase): # This should fail because pz is 0, but it succeeds on OS/X. # This fails on Linux with an upstream error "Couldn't dematerialize struct", as does "p *n" with "int *n = 0". # Note that this can also trigger llvm.org/pr15036 when run interactively at the lldb command prompt. - self.expect("expression *(type_z *)pz", - substrs = ["Cannot access memory at address 0x0"], error = True) + self.expect("expression *(type_z *)pz", error = True) def child_by_name(self): exe = os.path.join (os.getcwd(), "a.out") -- 2.7.4