This ugly regex is required because on Windows, the paths come out as \\ delimited instead of / delimited. Fixes a test breakage since r176894.

llvm-svn: 177658
This commit is contained in:
Aaron Ballman 2013-03-21 20:12:19 +00:00
parent 3d0235e16e
commit 63352de02e
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@
// RUN: %clang %s -fsyntax-only -ccc-install-dir /my/install/dir -### 2> %t.log
// RUN: FileCheck %s --check-prefix=CHECK-INSTALL-DIR < %t.log
// CHECK-INSTALL-DIR: "-resource-dir" "/my/install/dir/../lib/clang
// CHECK-INSTALL-DIR: "-resource-dir" "/my/install/dir{{[\\/]+}}..{{[\\/]+}}lib{{[\\/]+}}clang{{[\\/]+.+}}"
void foo(void) {}