From 7836bf24e8db291e73c388bf369b52be2e94cc0e Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 11 Aug 2007 05:15:54 +0000 Subject: [PATCH] Stop BoostBuild.py from crashing on certain test failures. [SVN r38593] --- v2/test/BoostBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/test/BoostBuild.py b/v2/test/BoostBuild.py index e347991c9..06090bff6 100644 --- a/v2/test/BoostBuild.py +++ b/v2/test/BoostBuild.py @@ -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