summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-06-28 16:12:20 +0000
committerVedant Kumar <vsk@apple.com>2016-06-28 16:12:20 +0000
commit64d8a029e9657538f7e89b932c0f20248ee0f23c (patch)
tree823b41930564b1b96adedfd66a66a817b1d69aad /llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
parentcef440f7a7dcf17c3d658aa899f989cbfb021d98 (diff)
downloadbcm5719-llvm-64d8a029e9657538f7e89b932c0f20248ee0f23c.tar.gz
bcm5719-llvm-64d8a029e9657538f7e89b932c0f20248ee0f23c.zip
[llvm-cov] Minor cleanups (NFC)
- Test the '-o' alias for -output-dir. - Use a helper method in a conditional. - Add a period. llvm-svn: 274028
Diffstat (limited to 'llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp')
-rw-r--r--llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp b/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
index 587b973ec82..dad15301e53 100644
--- a/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
+++ b/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
@@ -30,7 +30,7 @@ int main() { // CHECK: 161| [[@LINE]]|int main(
// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -instr-profile %t.profdata -filename-equivalence -name=main %s | FileCheck -check-prefixes=CHECK,FILTER %s
// Test -output-dir.
-// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -output-dir %t.dir -instr-profile %t.profdata -filename-equivalence %s
+// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -o %t.dir -instr-profile %t.profdata -filename-equivalence %s
// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -output-dir %t.dir -instr-profile %t.profdata -filename-equivalence -name=main %s
// RUN: FileCheck -check-prefixes=CHECK,WHOLE-FILE -input-file %t.dir/coverage/tmp/showLineExecutionCounts.cpp.txt %s
// RUN: FileCheck -check-prefixes=CHECK,FILTER -input-file %t.dir/functions.txt %s
OpenPOWER on IntegriCloud