summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-03-21 20:12:19 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-03-21 20:12:19 +0000
commit63352de02e89257c672baa0a520dbe266695b593 (patch)
tree404a13d880a0f1cd7097dc5e4f3f44d22aa3ccc0
parent3d0235e16ed6af39e0e97a74935692c9aa66026c (diff)
downloadbcm5719-llvm-63352de02e89257c672baa0a520dbe266695b593.tar.gz
bcm5719-llvm-63352de02e89257c672baa0a520dbe266695b593.zip
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
-rw-r--r--clang/test/Driver/resource-dir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/resource-dir.cpp b/clang/test/Driver/resource-dir.cpp
index 484d7f55762..106e8839955 100644
--- a/clang/test/Driver/resource-dir.cpp
+++ b/clang/test/Driver/resource-dir.cpp
@@ -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) {}
OpenPOWER on IntegriCloud