diff options
author | Tim Newsome <tim@sifive.com> | 2018-06-18 15:03:05 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2018-06-18 15:03:05 -0700 |
commit | 9862522869fb126371482b6802482c5e451d8333 (patch) | |
tree | a8c3758509b1d11664a9a36b975957bdabe9aa2d /debug | |
parent | 73a4ba0b3a218f31b2e1db9c438a13c951d640a3 (diff) | |
download | riscv-tests-9862522869fb126371482b6802482c5e451d8333.zip riscv-tests-9862522869fb126371482b6802482c5e451d8333.tar.gz riscv-tests-9862522869fb126371482b6802482c5e451d8333.tar.bz2 |
Add reproduce line to the end of debug test logs
Diffstat (limited to 'debug')
-rw-r--r-- | debug/testlib.py | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |