diff options
author | David Blaikie <dblaikie@gmail.com> | 2016-06-06 23:31:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2016-06-06 23:31:58 +0000 |
commit | f2f6037541fbc83a47661b73f55c2e2004c21ab7 (patch) | |
tree | 116296f87fcdacdb619d595a48746509c1d36002 /test/profile/Linux | |
parent | 9d50d6187a07870821a9409fbdbfa848a9dd7a74 (diff) |
add -f to rm so the test passes the first time it's run the file file is not present
(otherwise it just keeps failing at the rm step and never passes... )
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile/Linux')
-rw-r--r-- | test/profile/Linux/instrprof-file_ex.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile/Linux/instrprof-file_ex.test b/test/profile/Linux/instrprof-file_ex.test index 8b19b86dd..be899663d 100644 --- a/test/profile/Linux/instrprof-file_ex.test +++ b/test/profile/Linux/instrprof-file_ex.test @@ -1,6 +1,6 @@ RUN: mkdir -p %t.d RUN: %clang_profgen -fprofile-instr-generate %S/../Inputs/instrprof-file_ex.c -o %t -RUN: rm %t.d/run.dump +RUN: rm -f %t.d/run.dump RUN: %run %t %t.d/run.dump RUN: sort %t.d/run.dump | FileCheck %s |