parent
c685f8e540
commit
ecd98d5173
|
@ -69,7 +69,6 @@ class LibcxxTestFormat(lit.formats.FileBasedTest):
|
|||
source_path] + self.options
|
||||
out, err, exitCode = self.execute_command(cmd)
|
||||
if exitCode != 0:
|
||||
exec_file.close()
|
||||
report = """Command: %s\n""" % ' '.join(["'%s'" % a
|
||||
for a in cmd])
|
||||
report += """Exit Code: %d\n""" % exitCode
|
||||
|
@ -83,7 +82,6 @@ class LibcxxTestFormat(lit.formats.FileBasedTest):
|
|||
cmd = [exec_path]
|
||||
out, err, exitCode = self.execute_command(cmd)
|
||||
if exitCode != 0:
|
||||
exec_path.close()
|
||||
report = """Command: %s\n""" % ' '.join(["'%s'" % a
|
||||
for a in cmd])
|
||||
report += """Exit Code: %d\n""" % exitCode
|
||||
|
|
Loading…
Reference in New Issue