mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 04:46:27 +08:00
lit/TestRunner.py: Use RemoveForce().
llvm-svn: 145223
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user