[llvm-commits] [llvm] r152915 - /llvm/trunk/utils/lit/lit/TestRunner.py
NAKAMURA Takumi
geek4civic at gmail.com
Fri Mar 16 18:58:29 PDT 2012
I have misunderstood as if win32file were pre-installed.
(It is here when I installed buildbot-slave...)
Anyway, my reworking would be insufficient. It seems it does not cover
all cases.
...Takumi
2012/3/17 Francois Pichet <pichet2000 at gmail.com>:
> On Fri, Mar 16, 2012 at 6:48 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>> Author: chapuni
>> Date: Fri Mar 16 05:48:03 2012
>> New Revision: 152915
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=152915&view=rev
>> Log:
>> lit/TestRunner.py: [Win32] Rework WinWaitReleased().
>>
>> We can simply confirm the handle released to open it with EXCLUSIVE. Attempting renaming was bad.
>>
>> Modified:
>> llvm/trunk/utils/lit/lit/TestRunner.py
>>
>
> Hi Chapuni, on MSVC 2010, this create a bunch a lit python errors like:
> .
>
> 3> ********************
> 3> UNRESOLVED: Clang :: Preprocessor/traditional-cpp.c (2969 of 4436)
> 3> ******************** TEST 'Clang ::
> Preprocessor/traditional-cpp.c' FAILED ********************
> 3> Exception during script execution:
> 3> Traceback (most recent call last):
> 3> File "C:\dev\llvm\llvm_trunk2\utils\lit\lit\main.py", line 122, in runTest
> 3> self.litConfig)
> 3> File "C:\dev\llvm\llvm_trunk2\utils\lit\lit\TestFormats.py",
> line 125, in execute
> 3> self.execute_external)
> 3> File "C:\dev\llvm\llvm_trunk2\utils\lit\lit\TestRunner.py", line
> 616, in executeShTest
> 3> res = executeScriptInternal(test, litConfig, tmpBase, script, execdir)
> 3> File "C:\dev\llvm\llvm_trunk2\utils\lit\lit\TestRunner.py", line
> 282, in executeScriptInternal
> 3> exitCode = executeShCmd(cmd, test.config, cwd, results)
> 3> File "C:\dev\llvm\llvm_trunk2\utils\lit\lit\TestRunner.py", line
> 91, in executeShCmd
> 3> res = executeShCmd(cmd.rhs, cfg, cwd, results)
> 3> File "C:\dev\llvm\llvm_trunk2\utils\lit\lit\TestRunner.py", line
> 262, in executeShCmd
> 3> WinWaitReleased(f[0])
> 3> File "C:\dev\llvm\llvm_trunk2\utils\lit\lit\TestRunner.py", line
> 33, in WinWaitReleased
> 3> import time, win32file
> 3> ImportError: No module named win32file
More information about the llvm-commits
mailing list