]> granicus.if.org Git - clang/commitdiff
Fix test from r200979 on Windows
authorBen Langmuir <blangmuir@apple.com>
Fri, 7 Feb 2014 19:39:50 +0000 (19:39 +0000)
committerBen Langmuir <blangmuir@apple.com>
Fri, 7 Feb 2014 19:39:50 +0000 (19:39 +0000)
Hopefully the last tweak needed to get this test working everywhere.

Remove matching of the prefix of sys_header.h, which was never the point
of the test anyway.  This avoids dealing with path separators.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200987 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/verify_pch.m

index c722d377edc96417ebf283e7504d776bb1160a8c..dcfb286e2a11290b410e3bdb0b6e1849c63ecf78 100644 (file)
@@ -25,6 +25,6 @@
 // RUN: echo ' ' >> %t/usr/include/sys_header.h
 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -isysroot %t -verify-pch %t.pch 2> %t.log.3
 // RUN: FileCheck -check-prefix=CHECK-STALE-SYS-H %s < %t.log.3
-// CHECK-STALE-SYS-H: file '{{.*}}/usr/include/sys_header.h' has been modified since the precompiled header '{{.*}}.pch' was built
+// CHECK-STALE-SYS-H: file '{{.*}}sys_header.h' has been modified since the precompiled header '{{.*}}.pch' was built
 
 #include <sys_header.h>