##// END OF EJS Templates
silenttestrunner: add environment variable to make tests noisy again...
Augie Fackler -
r23308:dadcd40b default
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 import unittest, sys
1 import unittest, sys, os
2
2
3 def main(modulename):
3 def main(modulename):
4 '''run the tests found in module, printing nothing when all tests pass'''
4 '''run the tests found in module, printing nothing when all tests pass'''
@@ -16,3 +16,6 b' def main(modulename):'
16 print
16 print
17 sys.stdout.write(exc)
17 sys.stdout.write(exc)
18 sys.exit(1)
18 sys.exit(1)
19
20 if os.environ.get('SILENT_BE_NOISY'):
21 main = unittest.main
General Comments 0
You need to be logged in to leave comments. Login now