2015-11-17 18:25:21 +00:00
|
|
|
REQUIRES: x86_64-linux
|
2016-02-12 00:29:07 +00:00
|
|
|
RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
|
|
|
|
RUN: sancov -covered-functions -strip_path_prefix=Inputs/ %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=STRIP_PATH %s
|
|
|
|
RUN: sancov -demangle=0 -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
|
2015-11-12 19:34:21 +00:00
|
|
|
|
2015-11-12 20:17:49 +00:00
|
|
|
CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string)
|
|
|
|
CHECK: Inputs{{[/\\]}}test.cpp:14 main
|
2015-11-12 19:34:21 +00:00
|
|
|
|
2015-12-04 18:35:37 +00:00
|
|
|
STRIP_PATH: {{^}}test.cpp:12 bar(std::string)
|
|
|
|
STRIP_PATH: {{^}}test.cpp:14 main
|
2015-11-12 19:34:21 +00:00
|
|
|
|
2015-11-12 20:17:49 +00:00
|
|
|
NO_DEMANGLE: test.cpp:12 _Z3barSs
|
|
|
|
NO_DEMANGLE: test.cpp:14 main
|