r200987 - Fix test from r200979 on Windows
Ben Langmuir
blangmuir at apple.com
Fri Feb 7 11:39:50 PST 2014
Author: benlangmuir
Date: Fri Feb 7 13:39:50 2014
New Revision: 200987
URL: http://llvm.org/viewvc/llvm-project?rev=200987&view=rev
Log:
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.
Modified:
cfe/trunk/test/PCH/verify_pch.m
Modified: cfe/trunk/test/PCH/verify_pch.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/verify_pch.m?rev=200987&r1=200986&r2=200987&view=diff
==============================================================================
--- cfe/trunk/test/PCH/verify_pch.m (original)
+++ cfe/trunk/test/PCH/verify_pch.m Fri Feb 7 13:39:50 2014
@@ -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>
More information about the cfe-commits
mailing list