mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-19 01:27:40 +00:00
lit/TestRunner.py: Use RemoveForce().
llvm-svn: 145223
This commit is contained in:
parent
6393cd009c
commit
e33c002bee
@ -269,10 +269,7 @@ def executeShCmd(cmd, cfg, cwd, results):
|
||||
|
||||
# Remove any named temporary files we created.
|
||||
for f in named_temp_files:
|
||||
try:
|
||||
os.remove(f)
|
||||
except OSError:
|
||||
pass
|
||||
RemoveForce(f)
|
||||
|
||||
if cmd.negate:
|
||||
exitCode = not exitCode
|
||||
|
Loading…
Reference in New Issue
Block a user