# HG changeset patch # User Mads Kiilerich # Date 1326502550 -3600 # Node ID 23c6e5d22e79a381a5a1a6efdb5a8a6d105f0419 # Parent 93ced643068dbb56bc616df73985812c0fa8c08c tests: add 'set -x' to the .t sh scripts in run-tests.py debug mode This makes -d output much more readable when debugging the test framework or very strange test failures. [ original upstream message ] diff -r 93ced643068d -r 23c6e5d22e79 tests/run-tests.py --- a/tests/run-tests.py Thu Jan 19 02:01:05 2012 +0100 +++ b/tests/run-tests.py Sat Jan 14 01:55:50 2012 +0100 @@ -598,6 +598,8 @@ f.close() script = [] + if options.debug: + script.append('set -x\n') if os.getenv('MSYSTEM'): script.append('alias pwd="pwd -W"\n') for n, l in enumerate(t):