tests: Remove some stray cleanup code.

llvm-svn: 113934
This commit is contained in:
Daniel Dunbar 2010-09-15 04:18:37 +00:00
parent c685f8e540
commit ecd98d5173
1 changed files with 0 additions and 2 deletions

View File

@ -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