tests: Remove some stray cleanup code.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@113934 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e0c57b203
commit
26a43c25d7
@ -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…
x
Reference in New Issue
Block a user