From c054ac3af075946834232772a0141a55af441fb9 Mon Sep 17 00:00:00 2001 From: Simon Kagstrom Date: Tue, 8 Nov 2016 20:34:56 +0100 Subject: [PATCH] Issue #158: tests: Disable fork tests on OSX --- tests/tools/compiled.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tools/compiled.py b/tests/tools/compiled.py index 7e017037..a7706d87 100644 --- a/tests/tools/compiled.py +++ b/tests/tools/compiled.py @@ -13,6 +13,7 @@ def runTest(self): assert output.find("Illegal instructions are") != -1 class fork_no_wait(testbase.KcovTestCase): + @unittest.skipIf(not sys.platform.startswith("linux"), "Linux-only") def runTest(self): self.setUp() noKcovRv,o = self.do(testbase.testbuild + "/fork_no_wait", False) @@ -39,6 +40,7 @@ def doTest(self, binary): assert parse_cobertura.hitsPerLine(dom, "fork.c", 46) >= 1 class fork_64(ForkBase): + @unittest.skipIf(not sys.platform.startswith("linux"), "Linux-only") def runTest(self): self.doTest("fork")