Commit c9fe6850 authored by Libor Peltan's avatar Libor Peltan Committed by Daniel Salzman

tests: preserve both valgrind logs from stop-started knot

parent 9e99c527
...@@ -218,6 +218,9 @@ class Server(object): ...@@ -218,6 +218,9 @@ class Server(object):
mode = "w" if clean else "a" mode = "w" if clean else "a"
try: try:
if os.path.isfile(self.valgrind_log):
copyfile(self.valgrind_log, self.valgrind_log + str(int(time.time())))
if self.compile_cmd: if self.compile_cmd:
self.ctl(self.compile_cmd) self.ctl(self.compile_cmd)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment