You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
716 B
17 lines
716 B
7 months ago
|
RUN: mkdir -p %t.d
|
||
|
RUN: cd %t.d
|
||
|
|
||
|
RUN: %clang --coverage -o %t %S/Inputs/instrprof-gcov-switch1.c
|
||
|
RUN: test -f instrprof-gcov-switch1.gcno
|
||
|
RUN: rm -f instrprof-gcov-switch1.gcda
|
||
|
RUN: %run %t
|
||
|
RUN: llvm-cov gcov instrprof-gcov-switch1.gcda
|
||
|
RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-switch1.c.gcov %S/Inputs/instrprof-gcov-switch1.c.gcov
|
||
|
|
||
|
RUN: %clang --coverage -o %t %S/Inputs/instrprof-gcov-switch2.c
|
||
|
RUN: test -f instrprof-gcov-switch2.gcno
|
||
|
RUN: rm -f instrprof-gcov-switch2.gcda
|
||
|
RUN: %run %t
|
||
|
RUN: llvm-cov gcov instrprof-gcov-switch2.gcda
|
||
|
RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-switch2.c.gcov %S/Inputs/instrprof-gcov-switch2.c.gcov
|