]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - test/__main__.py
Fix typo in last commit.
[dunshire.git] / test / __main__.py
old mode 100644 (file)
new mode 100755 (executable)
index 175c884..b0598e7
@@ -1,3 +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)