summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/profile/Posix/instrprof-gcov-execvp.test
blob: 8e5cbc60950924ed33ad7daf618bcf118e87c5d4 (plain)
1
2
3
4
5
6
7
8
9
10
RUN: mkdir -p %t.d
RUN: cd %t.d

RUN: %clang --coverage -o %t %S/../Inputs/instrprof-gcov-execvp.c
RUN: test -f instrprof-gcov-execvp.gcno

RUN: rm -f instrprof-gcov-execvp.gcda
RUN: %run %t
RUN: llvm-cov gcov -b -c instrprof-gcov-execvp.gcda
RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-execvp.c.gcov %S/../Inputs/instrprof-gcov-execvp.c.gcov
OpenPOWER on IntegriCloud