summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/text-format-errors.test
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-11-13 06:06:58 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-11-13 06:06:58 +0000
commit7706fe58d26ac92c1d02361abe0cec882beb9377 (patch)
treede5a61dbe77e0803fb772b35d552b84b42e87e2d /llvm/test/tools/llvm-profdata/text-format-errors.test
parent9658ecc53b2e9d7648cf9a746e44e13533b55879 (diff)
downloadbcm5719-llvm-7706fe58d26ac92c1d02361abe0cec882beb9377.tar.gz
bcm5719-llvm-7706fe58d26ac92c1d02361abe0cec882beb9377.zip
llvm/test/tools/llvm-profdata/text-format-errors.test: Use prepared version of the input file, instead of using echo.
...and s/\C9/\xC9/ llvm-svn: 253014
Diffstat (limited to 'llvm/test/tools/llvm-profdata/text-format-errors.test')
-rw-r--r--llvm/test/tools/llvm-profdata/text-format-errors.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-profdata/text-format-errors.test b/llvm/test/tools/llvm-profdata/text-format-errors.test
index 113b10ee4e8..c8500bfac76 100644
--- a/llvm/test/tools/llvm-profdata/text-format-errors.test
+++ b/llvm/test/tools/llvm-profdata/text-format-errors.test
@@ -15,7 +15,6 @@ RUN: not llvm-profdata show %p/Inputs/no-counts.proftext 2>&1 | FileCheck %s --c
NO-COUNTS: error: {{.*}}no-counts.proftext: Malformed instrumentation profile data
4- Detect binary input
-RUN: echo -n $'\xff\xe5\xd0\xb1\xf4\c9\x94\xa8' > %t.bin
-RUN: not llvm-profdata show %t.bin 2>&1 | FileCheck %s --check-prefix=BINARY
+RUN: not llvm-profdata show %p/Inputs/text-format-errors.text.bin 2>&1 | FileCheck %s --check-prefix=BINARY
BINARY: error: {{.+}}: Unrecognized instrumentation profile encoding format
BINARY: Perhaps you forgot to use the -sample option?
OpenPOWER on IntegriCloud