From: Tim Newsome Date: Mon, 18 Jun 2018 22:03:05 +0000 (-0700) Subject: Add reproduce line to the end of debug test logs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9862522869fb126371482b6802482c5e451d8333;p=riscv-tests.git Add reproduce line to the end of debug test logs --- diff --git a/debug/testlib.py b/debug/testlib.py index 2fd978c..77795c6 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -660,6 +660,8 @@ def run_tests(parsed, target, todo): result = instance.run() log_fd.write("Result: %s\n" % result) log_fd.write("Logfile: %s\n" % log_name) + log_fd.write("Reproduce: %s %s %s\n" % (sys.argv[0], parsed.target, + name)) finally: sys.stdout = real_stdout log_fd.write("Time elapsed: %.2fs\n" % (time.time() - start))