summaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-09-15 04:18:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-09-15 04:18:37 +0000
commit26a43c25d7bf0b085b01663822667d85c5ee43f8 (patch)
tree9744496eda80b7677649a0493eb6a6255848a301 /test/lit.cfg
parent7e0c57b20372b7a3fb6b995f726afcd3cdd76d80 (diff)
downloadexternal_libcxx-26a43c25d7bf0b085b01663822667d85c5ee43f8.tar.gz
external_libcxx-26a43c25d7bf0b085b01663822667d85c5ee43f8.tar.bz2
external_libcxx-26a43c25d7bf0b085b01663822667d85c5ee43f8.zip
tests: Remove some stray cleanup code.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@113934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 52192a827..87f6c8956 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -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