13 lines · plain
1// Coverage/profile data recycled from the showLineExecutionCounts.cpp test.2//3// RUN: rm -rf %t.dir4// RUN: llvm-profdata merge %S/Inputs/lineExecutionCounts.proftext -o %t.profdata5// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -j 1 -o %t.dir/1 -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs6// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -num-threads 2 -o %t.dir/2 -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs7// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -o %t.dir/3 -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs8//9// RUN: diff %t.dir/1/index.txt %t.dir/2/index.txt10// RUN: diff %t.dir/1/coverage/tmp/showLineExecutionCounts.cpp.txt %t.dir/2/coverage/tmp/showLineExecutionCounts.cpp.txt11// RUN: diff %t.dir/1/index.txt %t.dir/3/index.txt12// RUN: diff %t.dir/1/coverage/tmp/showLineExecutionCounts.cpp.txt %t.dir/3/coverage/tmp/showLineExecutionCounts.cpp.txt13