diff options
author | Sean Callanan <scallanan@apple.com> | 2016-05-16 21:11:21 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2016-05-16 21:11:21 +0000 |
commit | 84fee5852c76e7f523c14c3974604bf6d1ec80a0 (patch) | |
tree | babdbce94f8c9ab23dba09fcff0448d09d25b546 /lldb/packages/Python/lldbsuite/test/lang/c | |
parent | 147036605e603009158db212ef7f604b8a3b56b4 (diff) | |
download | bcm5719-llvm-84fee5852c76e7f523c14c3974604bf6d1ec80a0.tar.gz bcm5719-llvm-84fee5852c76e7f523c14c3974604bf6d1ec80a0.zip |
Fixed and re-enabled the Clang modules testcase.
Macros work again after Clang r269554. This testcase just needed some small
tweaks to get it going again.
llvm-svn: 269704
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/c')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py b/lldb/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py index c0430b2c93f..5a940e2e5ef 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py +++ b/lldb/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py @@ -18,7 +18,6 @@ class CModulesTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @skipIfFreeBSD - @expectedFailureDarwin('http://llvm.org/pr24302') @expectedFailureAll(oslist=["linux"], bugnumber="http://llvm.org/pr23456 'fopen' has unknown return type") @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows") def test_expr(self): @@ -43,11 +42,11 @@ class CModulesTestCase(TestBase): self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE, substrs = [' resolved, hit count = 1']) - self.expect("expr @import Darwin; 3", VARIABLES_DISPLAYED_CORRECTLY, + self.expect("expr -l objc++ -- @import Darwin; 3", VARIABLES_DISPLAYED_CORRECTLY, substrs = ["int", "3"]) self.expect("expr *fopen(\"/dev/zero\", \"w\")", VARIABLES_DISPLAYED_CORRECTLY, - substrs = ["FILE", "_close", "__sclose"]) + substrs = ["FILE", "_close"]) self.expect("expr *myFile", VARIABLES_DISPLAYED_CORRECTLY, substrs = ["a", "5", "b", "9"]) |