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