From 26a43c25d7bf0b085b01663822667d85c5ee43f8 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar <daniel@zuster.org> Date: Wed, 15 Sep 2010 04:18:37 +0000 Subject: [PATCH] tests: Remove some stray cleanup code. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@113934 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/lit.cfg | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/lit.cfg b/test/lit.cfg index 52192a82..87f6c895 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