2020-05-26 23:27:22 +02:00
|
|
|
REQUIRES: x86-registered-target && host-byteorder-little-endian
|
2017-01-19 04:49:18 +01:00
|
|
|
RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefix=ALL
|
2016-04-22 01:38:45 +02:00
|
|
|
RUN: sancov -covered-functions -blacklist %p/Inputs/fun_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
|
|
|
|
RUN: sancov -covered-functions -blacklist %p/Inputs/src_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 %s
|
2017-01-19 04:49:18 +01:00
|
|
|
RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=STATS %s
|
|
|
|
RUN: sancov -print-coverage-stats -blacklist %p/Inputs/fun_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=STATS-BLIST %s
|
2015-12-16 01:31:48 +01:00
|
|
|
|
2017-01-19 04:49:18 +01:00
|
|
|
ALL: test.cpp:12 bar(std::string)
|
|
|
|
ALL: test.cpp:14 main
|
|
|
|
|
|
|
|
CHECK-NOT: test.cpp:12 bar(std::string)
|
|
|
|
CHECK: test.cpp:14 main
|
|
|
|
|
|
|
|
CHECK1-NOT: test.cpp:12 bar(std::string)
|
|
|
|
CHECK1-NOT: test.cpp:14 main
|
|
|
|
|
|
|
|
STATS: all-edges: 9
|
|
|
|
STATS: cov-edges: 7
|
|
|
|
STATS: all-functions: 3
|
|
|
|
STATS: cov-functions: 3
|
|
|
|
|
|
|
|
STATS-BLIST: all-edges: 8
|
|
|
|
STATS-BLIST: cov-edges: 6
|
|
|
|
STATS-BLIST: all-functions: 2
|
|
|
|
STATS-BLIST: cov-functions: 2
|
2016-04-22 01:38:45 +02:00
|
|
|
|