diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-28 01:55:08 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-28 01:55:08 +0000 |
commit | b0c95fbaf9ef8877ac2ace5e706ae7487b6dc6e1 (patch) | |
tree | cd76ced6037f28ce8363d22c0c39898bc0c98043 | |
parent | fc1a1870b5b4e1ef5a555426acd762f19387a57b (diff) |
lit/TestRunner.py: Use RemoveForce().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145223 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/lit/lit/TestRunner.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py index b450c33df6..c85533829d 100644 --- a/utils/lit/lit/TestRunner.py +++ b/utils/lit/lit/TestRunner.py @@ -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 |