Commit 1c92eba2 authored by Barry Warsaw's avatar Barry Warsaw

Print a more meaningful message when a test's output file wasn't

found.
parent c1cb3606
......@@ -93,7 +93,11 @@ def do_one_test(t, outdir):
print 'Generating:', filename
fake_stdout = open(filename, 'w')
else:
fake_stdout = Compare(filename)
try:
fake_stdout = Compare(filename)
except IOError:
print 'Could not find output file for test:', t
return
try:
sys.stdout = fake_stdout
print t
......
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