From 8af580ed7dd01ded848ff283dd9bdf2870e1bf0d Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Mon, 31 Aug 2015 21:42:02 +0000 Subject: [PATCH] Revert "[lit] Speculatively fix PR24554 by manually closing the process handle" This reverts commit r245946. It didn't help the problem: http://lab.llvm.org:8011/builders/sanitizer-windows/builds/9179/steps/run%20tests/logs/stdio LINK : fatal error LNK1104: cannot open file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246491 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/lit/lit/TestRunner.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py index 1fa43b394f7..055a282f3bc 100644 --- a/utils/lit/lit/TestRunner.py +++ b/utils/lit/lit/TestRunner.py @@ -257,9 +257,6 @@ def executeShCmd(cmd, shenv, results): exitCode = None for i,(out,err) in enumerate(procData): res = procs[i].wait() - # On Windows, manually close the process handles. - if kIsWindows: - procs[i]._handle.Close() # Detect Ctrl-C in subprocess. if res == -signal.SIGINT: raise KeyboardInterrupt -- 2.34.1