enabling sancov tests on linux x86_64 only
[oota-llvm.git] / test / tools / sancov / covered_functions.test
1 REQUIRES: x86_64-linux
2 RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered_functions %p/Inputs/test-linux_x86_64.sancov | FileCheck %s
3 RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered_functions %p/Inputs/test-linux_x86_64-1.sancov | FileCheck --check-prefix=MULTIPLE_FILES %s
4 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
5
6 CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string)
7 CHECK: Inputs{{[/\\]}}test.cpp:14 main
8
9 MULTIPLE_FILES: {{^}}foo.cpp:5 foo()
10 MULTIPLE_FILES: {{^}}test.cpp:12 bar(std::string)
11 MULTIPLE_FILES: {{^}}test.cpp:14 main
12
13 NO_DEMANGLE: test.cpp:12 _Z3barSs
14 NO_DEMANGLE: test.cpp:14 main