1
Description: Make test suite runner exit with code 0 if all test passes.
2
Origin: upstream, http://svn.berlios.de/viewcvs/docutils/trunk/docutils/test/alltests.py?r1=6116&r2=6296
3
Last-Update: 2010-03-31
8
# print >>sys.stderr, pformat(suite) # check the test suite
10
print 'Elapsed time: %.3f seconds' % (finish - start)
12
+ if result.errors or result.failures:
13
+ # return test result object to enable processing in programmatic use
15
+ else: # no problems, exit with zero