Remove the llvmprof.out from the test output, otherwise running
authorTorok Edwin <edwintorok@gmail.com>
Fri, 28 Aug 2009 13:35:44 +0000 (13:35 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Fri, 28 Aug 2009 13:35:44 +0000 (13:35 +0000)
make check in a non-clean directory causes it to fail (for example when running
make check twice), since execution counts will differ.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80362 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/Profiling/profiling-tool-chain.ll

index 743c46692324962798bc787b71994bacf16e4640..e7924fc195c94de59816b5083edaebe77dadd49c 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-as %s -o %t1
 ; RUN: opt %t1 -insert-edge-profiling -o %t2
 ; RUN: llvm-dis < %t2 | FileCheck --check-prefix=INST %s
-
+; RUN: rm llvmprof.out
 ; RUN: lli -load %llvmlibsdir/profile_rt%shlibext %t2
 ; RUN: lli -load %llvmlibsdir/profile_rt%shlibext %t2 1 2
 ; RUN: llvm-prof -print-all-code %t1 | FileCheck --check-prefix=PROF %s