Test failures were opaque to make and/or the shell running the tests. test.py now returns a non-zero return code if any tests fail.
Signed-off-by: Peter Grayson <[email protected]> --- t/test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/t/test.py b/t/test.py index f9a2ab71..e2241059 100644 --- a/t/test.py +++ b/t/test.py @@ -175,6 +175,10 @@ def main(): for t in sorted(failed): print " ", t print "Done" + return 1 + else: + return 0 + if __name__ == "__main__": - main() + sys.exit(main()) -- 2.12.0 _______________________________________________ stgit-users mailing list [email protected] https://mail.gna.org/listinfo/stgit-users
