summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Aizatsky <aizatsky@chromium.org>2015-11-12 20:17:49 +0000
committerMike Aizatsky <aizatsky@chromium.org>2015-11-12 20:17:49 +0000
commit67e3d651f5736cc0556432a188cfbfa1991e853d (patch)
treee3ee15f4a60c15c6e2d00475703a0c6578c913cf
parenta4b77c079bb485b968f6e5d8a28c733a030c5a14 (diff)
downloadbcm5719-llvm-67e3d651f5736cc0556432a188cfbfa1991e853d.tar.gz
bcm5719-llvm-67e3d651f5736cc0556432a188cfbfa1991e853d.zip
sancov tests - platform independent separators
llvm-svn: 252943
-rw-r--r--llvm/test/tools/sancov/covered_functions.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/sancov/covered_functions.test b/llvm/test/tools/sancov/covered_functions.test
index 0e110b16482..a73458124cb 100644
--- a/llvm/test/tools/sancov/covered_functions.test
+++ b/llvm/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
OpenPOWER on IntegriCloud