Skip to content
Snippets Groups Projects
Commit 0ef164bc authored by Roman Tokarev's avatar Roman Tokarev
Browse files

[test-runner] Always check for valgrind errors.

parent 54bdc672
No related branches found
No related tags found
No related merge requests found
......@@ -131,12 +131,12 @@ class Test:
if not self.is_executed_ok:
self.print_diagnostics()
where = ": test execution aborted, reason '{0}'".format(diagnostics)
elif not self.is_valgrind_clean:
print "Test failed! Valgrind reports errors" \
" (see {0}/valgrind.log)".format(self.args.vardir)
else:
elif not self.is_equal_result:
self.print_unidiff()
where = ": wrong test output"
if not self.is_valgrind_clean:
print "Test failed! Valgrind reports errors" \
" (see {0}/valgrind.log)".format(self.args.vardir)
if not self.suite_ini["is_force"]:
raise TestRunException("Failed to run test " + self.name + where)
......
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