lit/TestRunner.py: Use RemoveForce().

llvm-svn: 145223
This commit is contained in:
NAKAMURA Takumi 2011-11-28 01:55:08 +00:00
parent 57fc5adca0
commit a0d652e71b
1 changed files with 1 additions and 4 deletions

View File

@ -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