def _failed(self, status = 0):
if self.status is None:
return None
- if os.WIFSIGNALED(status):
+ if os.WIFSIGNALED(self.status):
return None
return _status(self) != status
def _status(self):
- Don't create duplicate source files in a BuildDir when the -n
option is used.
+ - Fix SCons not exiting with the appropriate status on build errors
+ (and probably in other situations).
+
From Steve Leblanc:
- Add a Clean() method to support removing user-specified targets
stdout = test.wrap_stdout('build1\("sub1/foo.out", "foo.in"\)\n')
test.write(sub1__sconsign, 'not:a:sconsign:file')
-test.run(arguments = '.', stderr=stderr, stdout=stdout, status=2)
+test.run(arguments = '.', stderr=stderr, stdout=stdout)
test.write(sub1__sconsign, '\0\0\0\0\0\0\0\0\0\0\0\0\0\0')
-test.run(arguments = '.', stderr=stderr, stdout=stdout, status=2)
+test.run(arguments = '.', stderr=stderr, stdout=stdout)
test.pass_test()