mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +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.
|
# Remove any named temporary files we created.
|
||||||
for f in named_temp_files:
|
for f in named_temp_files:
|
||||||
try:
|
RemoveForce(f)
|
||||||
os.remove(f)
|
|
||||||
except OSError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
if cmd.negate:
|
if cmd.negate:
|
||||||
exitCode = not exitCode
|
exitCode = not exitCode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user