2013-12-03 16:21:14 +08:00
|
|
|
# "cd" and globbing are unsupported in lit internal runner.
|
2013-12-03 15:56:23 +08:00
|
|
|
REQUIRES: shell
|
2013-12-03 16:21:14 +08:00
|
|
|
RUN: rm -rf %t
|
|
|
|
RUN: mkdir %t
|
|
|
|
RUN: cd %t
|
2013-12-04 03:05:03 +08:00
|
|
|
RUN: cp %p/Inputs/test* .
|
2013-12-03 16:21:14 +08:00
|
|
|
|
2013-12-03 08:57:11 +08:00
|
|
|
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
|
2013-12-06 04:45:36 +08:00
|
|
|
RUN: diff -aub test.cpp.orig_gcov test.cpp.gcov
|
2013-12-07 09:28:11 +08:00
|
|
|
RUN: diff -aub test.h.orig_gcov test.h.gcov
|
2013-11-14 06:50:15 +08:00
|
|
|
|
2013-11-14 08:07:15 +08:00
|
|
|
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
|
|
|
|
|
2013-12-04 16:57:17 +08:00
|
|
|
RUN: not llvm-cov -gcno=test.gcno -gcda=test_file_checksum_fail.gcda
|
|
|
|
|
|
|
|
RUN: not llvm-cov -gcno=test.gcno -gcda=test_func_checksum_fail.gcda
|
2013-11-20 12:15:05 +08:00
|
|
|
|
2013-11-30 05:59:09 +08:00
|
|
|
XFAIL: powerpc64, s390x, mips
|