diff options
Diffstat (limited to 'test/profile/Posix/instrprof-gcov-fork.test')
-rw-r--r-- | test/profile/Posix/instrprof-gcov-fork.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/profile/Posix/instrprof-gcov-fork.test b/test/profile/Posix/instrprof-gcov-fork.test new file mode 100644 index 000000000..436d7e663 --- /dev/null +++ b/test/profile/Posix/instrprof-gcov-fork.test @@ -0,0 +1,12 @@ +XFAIL: * + +RUN: mkdir -p %t.d +RUN: cd %t.d + +RUN: %clang --coverage -o %t %S/../Inputs/instrprof-gcov-fork.c +RUN: test -f instrprof-gcov-fork.gcno + +RUN: rm -f instrprof-gcov-fork.gcda +RUN: %run %t +RUN: llvm-cov gcov -b -c instrprof-gcov-fork.gcda +RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-fork.c.gcov %S/../Inputs/instrprof-gcov-fork.c.gcov |