[Lldb-commits] [lldb] r269704 - Fixed and re-enabled the Clang modules testcase.

Sean Callanan via lldb-commits lldb-commits at lists.llvm.org
Mon May 16 14:11:22 PDT 2016


Author: spyffe
Date: Mon May 16 16:11:21 2016
New Revision: 269704

URL: http://llvm.org/viewvc/llvm-project?rev=269704&view=rev
Log:
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.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py?rev=269704&r1=269703&r2=269704&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py Mon May 16 16:11:21 2016
@@ -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"])




More information about the lldb-commits mailing list