Skip to content
Snippets Groups Projects
Commit c85af7f5 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Test-runner: minor fixes.

Test runner: improve cleanup when installing a new server
(remove more old stuff).
Do not leave around a .reject file if there are valgrind
errors only (it's useless).
parent b1ed6a04
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,8 @@ class TarantoolSilverboxServer:
glob.glob(os.path.join(vardir, "*.inprogress")) +
glob.glob(os.path.join(vardir, "*.xlog")) +
glob.glob(os.path.join(vardir, "*.cfg")) +
glob.glob(os.path.join(vardir, "*.log")) +
glob.glob(os.path.join(vardir, "*.core.*")) +
glob.glob(os.path.join(vardir, "core"))):
os.remove(filename)
else:
......
......@@ -150,6 +150,7 @@ class Test:
self.print_unidiff()
where = ": wrong test output"
elif not self.is_valgrind_clean:
os.remove(self.reject)
self.print_diagnostics(self.suite_ini["valgrind_log"],
"Test failed! Last 10 lines of valgrind.log:")
where = ": there were warnings in valgrind.log"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment