1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

sancov tests - platform independent separators

llvm-svn: 252943
This commit is contained in:
Mike Aizatsky 2015-11-12 20:17:49 +00:00
parent ccf2a42805
commit 52aa962cec

View File

@ -2,12 +2,12 @@ RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered_functions %p/Inputs/test-l
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
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
CHECK: Inputs/test.cpp:12 bar(std::string)
CHECK: Inputs/test.cpp:14 main
CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string)
CHECK: Inputs{{[/\\]}}test.cpp:14 main
MULTIPLE_FILES: {{^}}foo.cpp:5 foo()
MULTIPLE_FILES: {{^}}test.cpp:12 bar(std::string)
MULTIPLE_FILES: {{^}}test.cpp:14 main
NO_DEMANGLE: Inputs/test.cpp:12 _Z3barSs
NO_DEMANGLE: Inputs/test.cpp:14 main
NO_DEMANGLE: test.cpp:12 _Z3barSs
NO_DEMANGLE: test.cpp:14 main