mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
lit/TestRunner.py: Use RemoveForce().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc1a1870b5
commit
b0c95fbaf9
@ -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