summaryrefslogtreecommitdiff
path: root/test/tools/llvm-cov/llvm-cov.test
blob: 62dd93d6be6abfed98911a72bab1972388b78305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# "cd" and globbing are unsupported in lit internal runner.
REQUIRES: shell
RUN: rm -rf %t
RUN: mkdir %t
RUN: cd %t
RUN: cp %p/Inputs/test.* .

RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
RUN: diff -aub test.cpp.gcov test.cpp.llcov
RUN: rm test.cpp.llcov

RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda

RUN: not llvm-cov -gcno=test.gcno -gcda=test_checksum_mismatch.gcda

XFAIL: powerpc64, s390x, mips