Commit 7687b250 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Print out the last N lines of a failing test instead of first N

And also bump N from 200->500
parent 649e33f4
......@@ -78,7 +78,7 @@ def run_test(cmd, cwd, expected, env = None):
if expected == result:
print "Received expected output"
else:
print >> sys.stderr, '\n'.join(output.split('\n')[:200])
print >> sys.stderr, '\n'.join(output.split('\n')[-500:])
print >> sys.stderr, "WRONG output"
print >> sys.stderr, "is:", result
print >> sys.stderr, "expected:", expected
......
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