mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 02:33:53 +00:00
With r196184, llvm-cov creates a new file right next to the input file. However, the Inputs-directory can't simply be assumed to be writable under all build systems. Also, this prevents a new source file from showing up in the source tree if the test aborts before the call to "rm". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196228 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
301 B
Plaintext
11 lines
301 B
Plaintext
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
|