From: Tim Newsome Date: Fri, 23 Mar 2018 20:27:52 +0000 (-0700) Subject: Print log filename at the end of the log. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efb44a9a906e2281be7a199ca799d0256e921f1f;p=riscv-tests.git 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. --- 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))