diff --git a/ci/run-tests.py b/ci/run-tests.py index 463a3a56f..11534b3f9 100755 --- a/ci/run-tests.py +++ b/ci/run-tests.py @@ -115,9 +115,11 @@ try: out, err = process.communicate() if err: print('WARN: DF produced stderr: ' + repr(err[:5000])) + with open('df-raw-stderr.log', 'wb') as f: + f.write(err) if process.returncode != 0: print('ERROR: DF exited with ' + repr(process.returncode)) - print('DF stdout: %r' + repr(out[:5000])) + print('DF stdout: ' + repr(out[:5000])) finally: print('\nRestoring original init.txt') shutil.copyfile(init_txt_path + '.orig', init_txt_path)