diff --git a/tests/run_tests.py b/tests/run_tests.py index 62580c4f2..35d7083a9 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -62,7 +62,10 @@ def main(): argv.append('-v') argv.append('-v') - nose.run(argv=argv, plugins=[TodoPlugin()]) + if not nose.run(argv=argv, plugins=[TodoPlugin()]): + sys.exit(1) + else: + sys.exit(0) if __name__ == "__main__": main()