Skip to content

Commit

Permalink
Issue SimonKagstrom#158: tests: Disable fork tests on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Nov 8, 2016
1 parent 49861b8 commit c054ac3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tools/compiled.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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")

Expand Down

0 comments on commit c054ac3

Please sign in to comment.