]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - test/__main__.py
Fix a pylint warning for a top-level variable name in test/__main__.py.
[dunshire.git] / test / __main__.py
old mode 100644 (file)
new mode 100755 (executable)
index 6a8af8a..b0598e7
@@ -1,6 +1,10 @@
+#!/usr/bin/env python
 """
 An implementation of __main__() that allows us to "run this module."
 """
 from test import build_suite, run_suite
 
-run_suite(build_suite())
+if run_suite(build_suite()).wasSuccessful():
+    exit(0)
+else:
+    exit(1)