Commit c2d26260 authored by Daniel Salzman's avatar Daniel Salzman

func-tests: improve test log

parent 624848fb
......@@ -46,6 +46,8 @@ def check_zone(server, expect_dnskey, expect_rrsig):
err("Expectations do not match.")
set_err("DNSKEYs not published and activated as expected.")
detail_log(SEP)
t = Test()
knot = t.server("knot")
......
......@@ -272,12 +272,15 @@ class Server(object):
split(" ")[0].replace(",", ""))
if lost > 0 or reachable > 0 or errcount > 0:
err("%s memcheck: lost(%i B), reachable(%i B), errcount(%i)" \
% (self.name, lost, reachable, errcount))
set_err("VALGRIND")
detail_log("%s memcheck: lost(%i B), reachable(%i B), " \
"errcount(%i)" \
% (self.name, lost, reachable, errcount))
lock = False
continue
detail_log(SEP)
f.close()
def stop(self):
......
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