Commit afc11b6a authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm.py: When no logs, do not add them to report

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 517c0988
......@@ -997,7 +997,8 @@ class launcher:
sub = self.__subs.pop(pid)
if status != 0:
self.__fail = True
add_to_report(sub['log'], "output")
if sub['log']:
add_to_report(sub['log'], "output")
if sub['log']:
print open(sub['log']).read()
......
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