X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2F__main__.py;h=26dfc57a8d4eb877d1e533707ee0aff7f99a0bb9;hb=a3b56774ac44ee53bdce648e57976b97bff2ba13;hp=175c884766c899a6cd668ded6ec00b601d1848e0;hpb=bdb596b84a06d0c97e39d42586a51fc36ba44186;p=dunshire.git diff --git a/test/__main__.py b/test/__main__.py index 175c884..26dfc57 100644 --- a/test/__main__.py +++ b/test/__main__.py @@ -1,3 +1,11 @@ +""" +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)