summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py b/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
index e530c47d2d3..e3751e02c45 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
@@ -17,12 +17,16 @@ class MTCSimpleTestCase(TestBase):
@skipUnlessDarwin
def test(self):
self.mtc_dylib_path = findMainThreadCheckerDylib()
- self.assertTrue(self.mtc_dylib_path != "")
+ if self.mtc_dylib_path == "":
+ self.skipTest("This test requires libMainThreadChecker.dylib")
+
self.build()
self.mtc_tests()
@skipIf(archs=['i386'])
def mtc_tests(self):
+ self.assertTrue(self.mtc_dylib_path != "")
+
# Load the test
exe = self.getBuildArtifact("a.out")
self.expect("file " + exe, patterns=["Current executable set to .*a.out"])
OpenPOWER on IntegriCloud