Skip to content

Commit

Permalink
don't TODO tests for interrupts on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Feb 3, 2010
1 parent 783a2c2 commit 254cf9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildbot/test/unit/test_slavecommand.py
Expand Up @@ -220,8 +220,8 @@ def _testTimeout_1(self, res):
# but the process *ought* to be killed somehow
self.failUnlessIn("process killed by signal", got)
#print got
if runtime.platformType != 'posix':
testTimeout.todo = "timeout doesn't appear to work under windows"
if runtime.platformType == 'win32':
testTimeout.skip = "timeout doesn't appear to work under windows"

def testInterrupt1(self):
args = {'command': [sys.executable, self.sleepcmd, "10"],
Expand All @@ -237,7 +237,7 @@ def _testInterrupt1_1(self, res):
self.failUnlessIn("command interrupted", got)
if runtime.platformType == "posix":
self.failUnlessIn("process killed by signal", got)
if runtime.platformType != 'posix':
if runtime.platformType == 'win32':
testInterrupt1.skip = "interrupt doesn't appear to work under windows"


Expand Down

0 comments on commit 254cf9c

Please sign in to comment.