X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2F__main__.py;h=8d88f647376f1d555691c1119b0216399e3c8a29;hb=903bd9bee55bcc404ae39a94d2625814d5bcc2a3;hp=6a8af8a538397216234283e7fe350f0eff912f65;hpb=59a1dcf2bf416a2527f9fdfb377afbbfa6cef696;p=dunshire.git diff --git a/test/__main__.py b/test/__main__.py old mode 100644 new mode 100755 index 6a8af8a..8d88f64 --- a/test/__main__.py +++ b/test/__main__.py @@ -1,6 +1,12 @@ +#!/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)