summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/binary.test
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-21 21:20:35 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-21 21:20:35 +0000
commitaf777bb37c0bb6a8725eafa4e7c2d3b8563fe6a6 (patch)
tree6f1dc730abe65c646394abd01ad52085c8b101c8 /llvm/test/tools/llvm-profdata/binary.test
parentbebb89359ac252f6a175f930d4ffebfd43d938da (diff)
downloadbcm5719-llvm-af777bb37c0bb6a8725eafa4e7c2d3b8563fe6a6.tar.gz
bcm5719-llvm-af777bb37c0bb6a8725eafa4e7c2d3b8563fe6a6.zip
InstrProf: Cleanup binary profdata testcase
Cleanup the current binary testcase for profile data. - Rename it to something more specific. - Remove the text comparison. - Check the output of llvm-profdata show. llvm-svn: 204518
Diffstat (limited to 'llvm/test/tools/llvm-profdata/binary.test')
-rw-r--r--llvm/test/tools/llvm-profdata/binary.test15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/tools/llvm-profdata/binary.test b/llvm/test/tools/llvm-profdata/binary.test
deleted file mode 100644
index d3a1c3fae09..00000000000
--- a/llvm/test/tools/llvm-profdata/binary.test
+++ /dev/null
@@ -1,15 +0,0 @@
-REGENERATE: You need a checkout of clang with compiler-rt to generate the
-REGENERATE: binary file here. These shell commands can be used to regenerate
-REGENERATE: it.
-REGENERATE:
-REGENERATE: $ SRC=path/to/llvm
-REGENERATE: $ CFE=$SRC/tools/clang
-REGENERATE: $ TESTDIR=$SRC/test/tools/llvm-profdata
-REGENERATE: $ CFE_TESTDIR=$CFE/test/Profile
-REGENERATE: $ clang -o a.out -fprofile-instr-generate $CFE_TESTDIR/test/Profile/c-general.c
-REGENERATE: $ LLVM_PROFILE_FILE=$TESTDIR/Inputs/binary.profdata ./a.out
-REGENERATE: $ cp $CFE_TESTDIR/Inputs/c-general.profdata $TESTDIR/Inputs/binary-compare.profdata
-
-RUN: llvm-profdata show %p/Inputs/binary.profdata -o %t1
-RUN: llvm-profdata show %p/Inputs/binary-compare.profdata -o %t2
-RUN: diff -up %t1 %t2
OpenPOWER on IntegriCloud