Skip to content

Commit

Permalink
Cleaned up exit code logic
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakybeaky committed Mar 15, 2012
1 parent 8bf75af commit d85ce43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/all_tests.py
Expand Up @@ -14,8 +14,7 @@ def main():
parseOptions()
testResults = runTests()

if not testResults.wasSuccessful():
sys.exit(1)
sys.exit(testResults.wasSuccessful() == 0)

def parseOptions():

Expand Down

0 comments on commit d85ce43

Please sign in to comment.