Skip dsym test on !Darwin
authorEd Maste <emaste@freebsd.org>
Mon, 20 Oct 2014 18:12:46 +0000 (18:12 +0000)
committerEd Maste <emaste@freebsd.org>
Mon, 20 Oct 2014 18:12:46 +0000 (18:12 +0000)
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.

llvm-svn: 220219

lldb/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py

index cd4f875..b47b2d4 100644 (file)
@@ -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()