# HG changeset patch # User Simon Heimberg # Date 1392077707 -3600 # Node ID 1478a9ce679097c03234201d179e48c58d0b5c1d # Parent b68984d288d4638667b5a1a0587de58236551a38 run-tests: fix typo and print out failing line Instead of stripping the newline and printing the line, only the newline was printed. The output on buildbot will make more sense now. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -800,7 +800,7 @@ r = False elif r == '-glob': log('\ninfo, unnecessary glob in %s (after line %d):' - ' %s (glob)\n' % (test, pos, el[-1])) + ' %s (glob)\n' % (test, pos, el[:-1])) r = True # pass on unnecessary glob else: log('\ninfo, unknown linematch result: %r\n' % r)