summaryrefslogtreecommitdiff
path: root/test/Driver/sysroot.c
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-07-11 16:21:34 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-07-11 16:21:34 +0000
commita5ca112ced1c0856187fe6717d36ce614f20d4a6 (patch)
tree714334c02e87cd1c7992958361e63a22f3f160a0 /test/Driver/sysroot.c
parente32323077b5c887f76c64397e45ae9f5df8e7c91 (diff)
downloadclang-a5ca112ced1c0856187fe6717d36ce614f20d4a6.tar.gz
clang-a5ca112ced1c0856187fe6717d36ce614f20d4a6.tar.bz2
clang-a5ca112ced1c0856187fe6717d36ce614f20d4a6.tar.xz
Tweak two tests with MSYS-bash tolerant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/sysroot.c')
-rw-r--r--test/Driver/sysroot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/sysroot.c b/test/Driver/sysroot.c
index 34f31001ac..79db900d07 100644
--- a/test/Driver/sysroot.c
+++ b/test/Driver/sysroot.c
@@ -1,18 +1,18 @@
// Check that --sysroot= also applies to header search paths.
// RUN: %clang -ccc-host-triple i386-unk-unk --sysroot=/FOO -### -E %s 2> %t1
// RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s
-// CHECK-SYSROOTEQ: "-cc1"{{.*}} "-isysroot" "/FOO"
+// CHECK-SYSROOTEQ: "-cc1"{{.*}} "-isysroot" "{{[^"]*}}/FOO"
// Apple Darwin uses -isysroot as the syslib root, too.
// RUN: touch %t2.o
// RUN: %clang -ccc-host-triple i386-apple-darwin10 \
// RUN: -isysroot /FOO -### %t2.o 2> %t2
// RUN: FileCheck --check-prefix=CHECK-APPLE-ISYSROOT < %t2 %s
-// CHECK-APPLE-ISYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "/FOO"
+// CHECK-APPLE-ISYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "{{[^"]*}}/FOO"
// Check that honor --sysroot= over -isysroot, for Apple Darwin.
// RUN: touch %t3.o
// RUN: %clang -ccc-host-triple i386-apple-darwin10 \
// RUN: -isysroot /FOO --sysroot=/BAR -### %t3.o 2> %t3
// RUN: FileCheck --check-prefix=CHECK-APPLE-SYSROOT < %t3 %s
-// CHECK-APPLE-SYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "/BAR"
+// CHECK-APPLE-SYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "{{[^"]*}}/BAR"