| Index: generate_test_report.py
|
| diff --git a/generate_test_report.py b/generate_test_report.py
|
| index 8ff12df24e933bce7e09c4341df153ea16d871bb..97c3ec6f0da48e921caaa4eb2c11774ed3d84573 100755
|
| --- a/generate_test_report.py
|
| +++ b/generate_test_report.py
|
| @@ -216,11 +216,16 @@ class ReportGenerator(object):
|
| for path in glob.glob(debug_file_regex):
|
| try:
|
| fh = open(path)
|
| - print ('\n========== DEBUG FILE %s FOR TEST %s ==============\n' % (
|
| - path, test))
|
| - print fh.read()
|
| - print('\n=========== END DEBUG %s FOR TEST %s ===============\n' % (
|
| - path, test))
|
| + print >> sys.stderr, (
|
| + '\n========== DEBUG FILE %s FOR TEST %s ==============\n' % (
|
| + path, test))
|
| + out = fh.read()
|
| + while out:
|
| + print >> sys.stderr, out
|
| + out = fh.read()
|
| + print >> sys.stderr, (
|
| + '\n=========== END DEBUG %s FOR TEST %s ===============\n' % (
|
| + path, test))
|
| fh.close()
|
| except:
|
| print 'Could not open %s' % path
|
|
|