Commit a29354ab authored by Jim Fulton's avatar Jim Fulton

Because we use os._exit, to avoid spurious logging errors, we need to

explicitly flush output to make sure we see test results.
parent 629b0667
......@@ -68,4 +68,9 @@ result = testrunner.run(defaults)
# something after the files used by the logger have been closed.
logging.disable(999999999)
import os
# Because we're about to use os._exit, we flush output so we don't miss any.
sys.stdout.flush()
sys.stderr.flush()
os._exit(result)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment