mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
lit/TestRunner.py: Try to catch ERROR_FILE_NOT_FOUND, too.
Thanks to Francois, to let me know. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145381 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9712f8460d
commit
ebb57cc44a
@ -53,7 +53,9 @@ def WinWaitReleased(f):
|
||||
WinRename(f, t) # rename
|
||||
WinRename(t, f) # restore
|
||||
except WindowsError, (winerror, strerror):
|
||||
if winerror == 3: # ERROR_PATH_NOT_FOUND
|
||||
if winerror in (2, 3):
|
||||
# 2: ERROR_FILE_NOT_FOUND
|
||||
# 3: ERROR_PATH_NOT_FOUND
|
||||
pass
|
||||
else:
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user