mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
734fa40b2a
Instead of permanently outputting "MVLL" as the file checksum, clang will create gcno and gcda checksums by hashing the destination block numbers of every arc. This allows for llvm-cov to check if the two gcov files are synchronized. Regenerated the test files so they contain the checksum. Also added negative test to ensure error when the checksums don't match. llvm-svn: 195191
13 lines
319 B
Plaintext
13 lines
319 B
Plaintext
RUN: cd %p/Inputs
|
|
# "cd" is unsupported in lit internal runner.
|
|
REQUIRES: shell
|
|
|
|
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda \
|
|
RUN: | diff -aub test.cpp.gcov -
|
|
|
|
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
|