Fix test for Windows path separators
authorDouglas Gregor <dgregor@apple.com>
Fri, 30 Nov 2012 23:40:49 +0000 (23:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 30 Nov 2012 23:40:49 +0000 (23:40 +0000)
llvm-svn: 169058

clang/test/Modules/build-fail-notes.m

index 8ab1cbc..304140e 100644 (file)
@@ -21,11 +21,11 @@ extern int Module;
 // RUN: %clang_cc1 -fmodule-cache-path %t -fmodules -F %S/Inputs -DgetModuleVersion="epic fail" -serialize-diagnostic-file %t.diag %s 2>&1 || true
 // RUN: c-index-test -read-diagnostics %t.diag 2>&1 | FileCheck -check-prefix=CHECK-SDIAG %s
 
-// CHECK-SDIAG: Inputs/Module.framework/Headers/Module.h:9:13: error: expected ';' after top level declarator
+// CHECK-SDIAG: Module.h:9:13: error: expected ';' after top level declarator
 // CHECK-SDIAG: build-fail-notes.m:4:32: note: while building module 'DependsOnModule' imported from
-// CHECK-SDIAG: Inputs/DependsOnModule.framework/Headers/DependsOnModule.h:1:10: note: while building module 'Module' imported from
+// CHECK-SDIAG: DependsOnModule.h:1:10: note: while building module 'Module' imported from
 // CHECK-SDIAG: note: expanded from macro 'getModuleVersion'
 // CHECK-SDIAG: warning: umbrella header does not include header 'NotInModule.h' [-Wincomplete-umbrella]
-// CHECK-SDIAG: Inputs/DependsOnModule.framework/Headers/DependsOnModule.h:1:10: fatal: could not build module 'Module'
+// CHECK-SDIAG: DependsOnModule.h:1:10: fatal: could not build module 'Module'
 // CHECK-SDIAG: build-fail-notes.m:4:32: note: while building module 'DependsOnModule' imported from