[llvm] r252943 - sancov tests - platform independent separators

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 12:17:49 PST 2015


Author: aizatsky
Date: Thu Nov 12 14:17:49 2015
New Revision: 252943

URL: http://llvm.org/viewvc/llvm-project?rev=252943&view=rev
Log:
sancov tests - platform independent separators

Modified:
    llvm/trunk/test/tools/sancov/covered_functions.test

Modified: llvm/trunk/test/tools/sancov/covered_functions.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/covered_functions.test?rev=252943&r1=252942&r2=252943&view=diff
==============================================================================
--- llvm/trunk/test/tools/sancov/covered_functions.test (original)
+++ llvm/trunk/test/tools/sancov/covered_functions.test Thu Nov 12 14:17:49 2015
@@ -2,12 +2,12 @@ RUN: sancov -obj %p/Inputs/test-linux_x8
 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




More information about the llvm-commits mailing list