[Lldb-commits] [lldb] r236914 - TestCModules was effectively skipped on Linux

Vince Harron vince at nethacker.com
Fri May 8 16:17:46 PDT 2015


Author: vharron
Date: Fri May  8 18:17:46 2015
New Revision: 236914

URL: http://llvm.org/viewvc/llvm-project?rev=236914&view=rev
Log:
TestCModules was effectively skipped on Linux
    
Summary: I've removed the secret skip and added expectedFailureLinux
    
Test Plan: run tests
    
Reviewers: flackr
    
Subscribers: lldb-commits
    
Differential Revision: http://reviews.llvm.org/D9615


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

Modified: lldb/trunk/test/lang/c/modules/TestCModules.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/modules/TestCModules.py?rev=236914&r1=236913&r2=236914&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/modules/TestCModules.py (original)
+++ lldb/trunk/test/lang/c/modules/TestCModules.py Fri May  8 18:17:46 2015
@@ -22,6 +22,7 @@ class CModulesTestCase(TestBase):
 
     @dwarf_test
     @skipIfFreeBSD
+    @expectedFailureLinux('http://llvm.org/pr23456') # 'fopen' has unknown return type
     def test_expr_with_dwarf(self):
         self.buildDwarf()
         self.expr()
@@ -33,9 +34,7 @@ class CModulesTestCase(TestBase):
         self.line = line_number('main.c', '// Set breakpoint 0 here.')
 
     def applies(self):
-        if platform.system() != "Darwin":
-            return False
-        if StrictVersion('12.0.0') > platform.release():
+        if platform.system() == "Darwin" and platform.release() < StrictVersion('12.0.0'):
             return False
 
         return True





More information about the lldb-commits mailing list