diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-11 16:21:34 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-11 16:21:34 +0000 |
commit | c7ec4539edde180b2494533a14bdea5ea31706c9 (patch) | |
tree | caf716f8a985a380bc2e919ee8beddb0d303fd21 /clang/test/Driver/sysroot.c | |
parent | 7392a5f92fd68656acbb75cb7e851f53540ca5a0 (diff) | |
download | bcm5719-llvm-c7ec4539edde180b2494533a14bdea5ea31706c9.tar.gz bcm5719-llvm-c7ec4539edde180b2494533a14bdea5ea31706c9.zip |
Tweak two tests with MSYS-bash tolerant.
llvm-svn: 134899
Diffstat (limited to 'clang/test/Driver/sysroot.c')
-rw-r--r-- | clang/test/Driver/sysroot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Driver/sysroot.c b/clang/test/Driver/sysroot.c index 34f31001acc..79db900d07e 100644 --- a/clang/test/Driver/sysroot.c +++ b/clang/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" |