Description: Return non-zero to make package building fail.
Author: Örjan Persson <orange@fobie.net>
Last-Update: 2012-02-08
--- a/run-tests.py
+++ b/run-tests.py
@@ -55,4 +55,6 @@ sys.stdout.write("python %s (%s bit) usi
 # -- run tests
 from tests import test_collector
 suite = test_collector()
-unittest.TextTestRunner(verbosity=verbosity).run(suite)
+result = unittest.TextTestRunner(verbosity=verbosity).run(suite)
+if result.failures:
+    sys.exit(1)
