Commit 12669dbc authored by Kevin Modzelewski's avatar Kevin Modzelewski

Make the tester blow up if CPython exits with a negative exit code, which...

Make the tester blow up if CPython exits with a negative exit code, which indicates some non-Python-level problem
parent c3278a21
......@@ -57,6 +57,8 @@ def get_expected_output(fn):
code = p.wait()
r = code, out, err.strip().split('\n')[-1]
assert code >= 0, "CPython exited with an unexpected exit code: %d" % (code,)
cPickle.dump(r, open(cache_fn, 'w'))
return r
......
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