diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-07-30 23:02:01 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-07-30 23:02:01 +0000 |
commit | af3001e859e39f4dc436fc5cacaa297657468ce9 (patch) | |
tree | f26494021311118a14099a31ecbaa9d7b649384e /llvm/test/tools/llvm-profdata/c-general.test | |
parent | 42affc2db6ff1257f2cf6d84018c747464ca5f20 (diff) | |
download | bcm5719-llvm-af3001e859e39f4dc436fc5cacaa297657468ce9.tar.gz bcm5719-llvm-af3001e859e39f4dc436fc5cacaa297657468ce9.zip |
llvm-profdata: Use consistent file suffixes in tests
In some places we've been using different suffixes for the different
file formats involved in instrprof, but in others we've just
ambiguously used .profdata. Update the test files to indicate the
types of file more obviously.
No functional change.
llvm-svn: 214357
Diffstat (limited to 'llvm/test/tools/llvm-profdata/c-general.test')
-rw-r--r-- | llvm/test/tools/llvm-profdata/c-general.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/tools/llvm-profdata/c-general.test b/llvm/test/tools/llvm-profdata/c-general.test index 9b6cd7f4828..01435303d44 100644 --- a/llvm/test/tools/llvm-profdata/c-general.test +++ b/llvm/test/tools/llvm-profdata/c-general.test @@ -7,10 +7,10 @@ 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/c-general.profdata ./a.out +REGENERATE: $ LLVM_PROFILE_FILE=$TESTDIR/Inputs/c-general.profraw ./a.out -RUN: llvm-profdata show %p/Inputs/c-general.profdata -o - | FileCheck %s -check-prefix=CHECK -RUN: llvm-profdata show %p/Inputs/c-general.profdata -o - --function=switches | FileCheck %s -check-prefix=SWITCHES -check-prefix=CHECK +RUN: llvm-profdata show %p/Inputs/c-general.profraw -o - | FileCheck %s -check-prefix=CHECK +RUN: llvm-profdata show %p/Inputs/c-general.profraw -o - --function=switches | FileCheck %s -check-prefix=SWITCHES -check-prefix=CHECK SWITCHES-LABEL: Counters: SWITCHES-NEXT: switches: |