2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Stop BoostBuild.py from crashing on certain test failures.

[SVN r38593]
This commit is contained in:
Vladimir Prus
2007-08-11 05:15:54 +00:00
parent a436cad92f
commit 7836bf24e8

View File

@@ -78,7 +78,7 @@ if os.name == 'posix':
if os.WIFEXITED(self.status):
return os.WEXITSTATUS(self.status)
else:
return None
return -1
elif os.name == 'nt':
def _failed(self, status = 0):
return not self.status is None and self.status != status