From: Mike Aizatsky Date: Thu, 12 Nov 2015 20:17:49 +0000 (+0000) Subject: sancov tests - platform independent separators X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=4192660fd22f4c196d830e4eb141f61ff9c6c307 sancov tests - platform independent separators git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252943 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/sancov/covered_functions.test b/test/tools/sancov/covered_functions.test index 0e110b16482..a73458124cb 100644 --- a/test/tools/sancov/covered_functions.test +++ b/test/tools/sancov/covered_functions.test @@ -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