]> granicus.if.org Git - clang/commitdiff
test/Frontend/dependency-gen.c: Relax expressions for Win32 host (mingw msys).
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Nov 2011 07:21:33 +0000 (07:21 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Nov 2011 07:21:33 +0000 (07:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144887 91177308-0d34-0410-b5e6-96231b3b80d8

test/Frontend/dependency-gen.c

index 49d3f28614c5d527ef71075ba26a7fd0619da5d1..5883ec5586fffb98dc8648825b229c96316d240d 100644 (file)
@@ -5,7 +5,7 @@
 // RUN: echo > %t.dir/a/b/x.h
 // RUN: cd %t.dir
 // RUN: %clang -MD -MF - %s -fsyntax-only -I a/b | FileCheck -check-prefix=CHECK-ONE %s
-// CHECK-ONE: {{ }}a/b/x.h
+// CHECK-ONE: {{ }}a/b{{[/\\]}}x.h
 
 // PR8974 (-include flag)
 // RUN: %clang -MD -MF - %s -fsyntax-only -include a/b/x.h -DINCLUDE_FLAG_TEST | FileCheck -check-prefix=CHECK-TWO %s
 
 // rdar://problem/9734352 (paths involving ".")
 // RUN: %clang -MD -MF - %s -fsyntax-only -I ./a/b | FileCheck -check-prefix=CHECK-THREE %s
-// CHECK-THREE: {{ }}a/b/x.h
+// CHECK-THREE: {{ }}a/b{{[/\\]}}x.h
 // RUN: %clang -MD -MF - %s -fsyntax-only -I .//./a/b/ | FileCheck -check-prefix=CHECK-FOUR %s
-// CHECK-FOUR: {{ }}a/b/x.h
+// CHECK-FOUR: {{ }}a/b{{[/\\]}}x.h
 // RUN: %clang -MD -MF - %s -fsyntax-only -I a/b/. | FileCheck -check-prefix=CHECK-FIVE %s
-// CHECK-FIVE: {{ }}a/b/./x.h
+// CHECK-FIVE: {{ }}a/b/.{{[/\\]}}x.h
 // RUN: cd a/b
 // RUN: %clang -MD -MF - %s -fsyntax-only -I ./ | FileCheck -check-prefix=CHECK-SIX %s
 // CHECK-SIX: {{ }}x.h