[llvm] r293786 - Make test case resilient to \ or / directory separators
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 09:34:42 PST 2017
Author: dblaikie
Date: Wed Feb 1 11:34:41 2017
New Revision: 293786
URL: http://llvm.org/viewvc/llvm-project?rev=293786&view=rev
Log:
Make test case resilient to \ or / directory separators
Modified:
llvm/trunk/test/tools/llvm-symbolizer/sym-verbose.test
Modified: llvm/trunk/test/tools/llvm-symbolizer/sym-verbose.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-symbolizer/sym-verbose.test?rev=293786&r1=293785&r2=293786&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-symbolizer/sym-verbose.test (original)
+++ llvm/trunk/test/tools/llvm-symbolizer/sym-verbose.test Wed Feb 1 11:34:41 2017
@@ -14,21 +14,21 @@ RUN: llvm-symbolizer -verbose -print-add
#CHECK: 0x4004f2
#CHECK-NEXT: main
-#CHECK-NEXT: Filename: /tmp/discrim.c
+#CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
#CHECK-NEXT: Line: 6
#CHECK-NEXT: Column: 7
#CHECK-NOT: Discriminator: 0
#CHECK: 0x400509
#CHECK-NEXT: main
-#CHECK-NEXT: Filename: /tmp/discrim.c
+#CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
#CHECK-NEXT: Line: 7
#CHECK-NEXT: Column: 3
#CHECK-NEXT: Discriminator: 1
#CHECK: 0x40050d
#CHECK-NEXT: main
-#CHECK-NEXT: Filename: /tmp/discrim.c
+#CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
#CHECK-NEXT: Line: 7
#CHECK-NEXT: Column: 3
#CHECK-NEXT: Discriminator: 2
More information about the llvm-commits
mailing list