[compiler-rt] r271959 - add -f to rm so the test passes the first time it's run the file file is not present

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 16:40:11 PDT 2016


thanks for the fix! I was away and missed the failure ..

David

On Mon, Jun 6, 2016 at 4:31 PM, David Blaikie via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: dblaikie
> Date: Mon Jun  6 18:31:58 2016
> New Revision: 271959
>
> URL: http://llvm.org/viewvc/llvm-project?rev=271959&view=rev
> Log:
> 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... )
>
> Modified:
>     compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test
>
> Modified: compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test
> URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test?rev=271959&r1=271958&r2=271959&view=diff
>
> ==============================================================================
> --- compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test (original)
> +++ compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test Mon Jun  6
> 18:31:58 2016
> @@ -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
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160606/ebd7d73c/attachment.html>


More information about the llvm-commits mailing list