From: Ben Langmuir Date: Fri, 7 Feb 2014 19:39:50 +0000 (+0000) Subject: Fix test from r200979 on Windows X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=866f74739b13c8de5a0bd44ec7434987e0cb7856;p=clang Fix test from r200979 on Windows 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 --- diff --git a/test/PCH/verify_pch.m b/test/PCH/verify_pch.m index c722d377ed..dcfb286e2a 100644 --- a/test/PCH/verify_pch.m +++ b/test/PCH/verify_pch.m @@ -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