aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-03-23 13:27:52 -0700
committerTim Newsome <tim@sifive.com>2018-03-23 13:27:52 -0700
commitefb44a9a906e2281be7a199ca799d0256e921f1f (patch)
tree90d951a0b918de26db8d3ccbe148507ac1701d12
parent45351b73c557e587b6eaf574074535d73cd6b56b (diff)
downloadriscv-tests-efb44a9a906e2281be7a199ca799d0256e921f1f.zip
riscv-tests-efb44a9a906e2281be7a199ca799d0256e921f1f.tar.gz
riscv-tests-efb44a9a906e2281be7a199ca799d0256e921f1f.tar.bz2
Print log filename at the end of the log.
This makes it much easier to look at a log if you see a failure scrolling by on your terminal.
-rw-r--r--debug/testlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 5c40a5d..fd587bd 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -643,6 +643,7 @@ def run_tests(parsed, target, todo):
try:
result = instance.run()
log_fd.write("Result: %s\n" % result)
+ log_fd.write("Logfile: %s\n" % log_name)
finally:
sys.stdout = real_stdout
log_fd.write("Time elapsed: %.2fs\n" % (time.time() - start))