Output debug warnings and errors to stderr. Clean up regress script a bit.

This commit is contained in:
Matt Guthaus
2018-07-11 09:51:28 -07:00
parent c6503dd771
commit b3732f4fcf
2 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -28,5 +28,6 @@ suite = unittest.TestSuite()
load = unittest.defaultTestLoader.loadTestsFromModule
suite.addTests(map(load, modules))
ret = not unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful()
sys.exit(ret)
test_runner = unittest.TextTestRunner(verbosity=2,stream=sys.stderr)
test_result = test_runner.run(suite)
sys.exit(not test_result.wasSuccessful())