+#!/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())
+result = run_suite(build_suite())
+
+if result.wasSuccessful():
+ exit(0)
+else:
+ exit(1)