lit/TestRunner.py: [Win32] Rework WinWaitReleased() again! "win32file" from Python...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 21 Mar 2012 07:49:44 +0000 (07:49 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 21 Mar 2012 07:49:44 +0000 (07:49 +0000)
commit9146e66cc179771c06e1c1aeea891cec7ad46db3
tree855451036ec0b221edefab6cbe39a09fbdb47c4a
parent57f33c86c76e149f5be266e678f408133e5d88d9
lit/TestRunner.py: [Win32] Rework WinWaitReleased() again! "win32file" from Python Win32 Extensions.

We can simply confirm the handle released to open it with EXCLUSIVE. Attempting renaming was bad.

Disable win32file at ImportError. Thanks to Francois to let me know.

FIXME: Could we report warning or notification if win32file were not found?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153172 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/TestRunner.py