[Lldb-commits] [lldb] r220219 - Skip dsym test on !Darwin

Ed Maste emaste at freebsd.org
Mon Oct 20 11:12:47 PDT 2014


Author: emaste
Date: Mon Oct 20 13:12:46 2014
New Revision: 220219

URL: http://llvm.org/viewvc/llvm-project?rev=220219&view=rev
Log:
Skip dsym test on !Darwin

r219978 fixed this test to work on Darwin, and removed the expected
failure decorator, but it then started running (and failing) on FreeBSD.

I'd think @dsym_test should skip the test on all non-Darwin operating
systems. It seems not to be the case, so for now skip it the same way as
done for other @dsym_test tests.

Modified:
    lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py

Modified: lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py?rev=220219&r1=220218&r2=220219&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py (original)
+++ lldb/trunk/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py Mon Oct 20 13:12:46 2014
@@ -14,6 +14,7 @@ class ObjCNewSyntaxTestCase(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
+    @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @dsym_test
     def test_expr_with_dsym(self):
         self.buildDsym()





More information about the lldb-commits mailing list