From 9862522869fb126371482b6802482c5e451d8333 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 18 Jun 2018 15:03:05 -0700 Subject: [PATCH] Add reproduce line to the end of debug test logs --- debug/testlib.py | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.30.2