Skip to content

Commit 47550d1

Browse files
committed
threads.c => threads.test (following #113114)
1 parent 805e9a9 commit 47550d1

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

llvm/test/tools/llvm-cov/threads.c

Lines changed: 0 additions & 11 deletions
This file was deleted.

llvm/test/tools/llvm-cov/threads.test

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Coverage/profile data recycled from the showLineExecutionCounts.cpp test.
2+
//
3+
// RUN: rm -rf %t.dir
4+
// RUN: llvm-profdata merge %S/Inputs/lineExecutionCounts.proftext -o %t.profdata
5+
// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -j 1 -o %t.dir/1 -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs
6+
// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -num-threads 2 -o %t.dir/2 -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs
7+
// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -o %t.dir/3 -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs
8+
//
9+
// RUN: diff %t.dir/1/index.txt %t.dir/2/index.txt
10+
// RUN: diff %t.dir/1/coverage/tmp/showLineExecutionCounts.cpp.txt %t.dir/2/coverage/tmp/showLineExecutionCounts.cpp.txt
11+
// RUN: diff %t.dir/1/index.txt %t.dir/3/index.txt
12+
// RUN: diff %t.dir/1/coverage/tmp/showLineExecutionCounts.cpp.txt %t.dir/3/coverage/tmp/showLineExecutionCounts.cpp.txt

0 commit comments

Comments
 (0)