aboutsummaryrefslogtreecommitdiff
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
commit595b1bc0ad2b6eebb30d2d59a8457077a865bb54 (patch)
treebb8812b2552694c13e67b36336a84ab6667c4578
parent0beab2746464ff7e871b2ec9c9b7fd9e8bc53494 (diff)
This ugly regex is required because on Windows, the paths come out as \\ delimited instead of / delimited. Fixes a test breakage since r176894.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177658 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/resource-dir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Driver/resource-dir.cpp b/test/Driver/resource-dir.cpp
index 484d7f5576..106e883995 100644
--- a/test/Driver/resource-dir.cpp
+++ b/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) {}