Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / sancov / ignorelist.test
blob01d03aed05b2375719ee19c28527f6329a450d78
1 REQUIRES: x86-registered-target && host-byteorder-little-endian
2 RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefix=ALL
3 RUN: sancov -covered-functions -ignorelist %p/Inputs/fun_ignorelist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
4 RUN: sancov -covered-functions -ignorelist %p/Inputs/src_ignorelist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 %s
5 RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=STATS %s
6 RUN: sancov -print-coverage-stats -ignorelist %p/Inputs/fun_ignorelist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=STATS-BLIST %s
8 ALL: test.cpp:12 bar(std::string)
9 ALL: test.cpp:14 main
11 CHECK-NOT: test.cpp:12 bar(std::string)
12 CHECK: test.cpp:14 main
14 CHECK1-NOT: test.cpp:12 bar(std::string)
15 CHECK1-NOT: test.cpp:14 main
17 STATS: all-edges: 9
18 STATS: cov-edges: 7
19 STATS: all-functions: 3
20 STATS: cov-functions: 3
22 STATS-BLIST: all-edges: 8
23 STATS-BLIST: cov-edges: 6
24 STATS-BLIST: all-functions: 2
25 STATS-BLIST: cov-functions: 2