mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
zdtm: Remove junit_xml leftovers
The previous commit4cd4a6b1ac("zdtm: stop importing junit_xml") removed the junit_xml library, but some variables related to it were left in the code. This commit removes the unused `tc` variable and a call to its `add_error_info` method. Fixes:4cd4a6b1ac("zdtm: stop importing junit_xml") Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
2d2168fc9c
commit
91758a68e9
1 changed files with 0 additions and 2 deletions
|
|
@ -2232,7 +2232,6 @@ class Launcher:
|
|||
# The following wait() is not useful for our domain logic.
|
||||
# It's useful for taming warnings in subprocess.Popen.__del__()
|
||||
sub['sub'].wait()
|
||||
tc = None
|
||||
if status != 0:
|
||||
self.__fail = True
|
||||
failed_flavor = decode_flav(os.WEXITSTATUS(status))
|
||||
|
|
@ -2243,7 +2242,6 @@ class Launcher:
|
|||
with open(sub['log']) as sublog:
|
||||
output = sublog.read()
|
||||
details = {'output': output}
|
||||
tc.add_error_info(output=output)
|
||||
print(testline, file=self.__file_report)
|
||||
print("%s" % yaml.safe_dump(details,
|
||||
explicit_start=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue