forked from OSchip/llvm-project
Tweak two tests with MSYS-bash tolerant.
llvm-svn: 134899
This commit is contained in:
parent
7392a5f92f
commit
c7ec4539ed
|
@ -1,3 +1,3 @@
|
|||
// RUN: %clang -### -ccc-arcmt-migrate /foo/bar -fsyntax-only %s 2>&1 | FileCheck %s
|
||||
|
||||
// CHECK: "-arcmt-migrate" "-arcmt-migrate-directory" "/foo/bar"
|
||||
// CHECK: "-arcmt-migrate" "-arcmt-migrate-directory" "{{[^"]*}}/foo/bar"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue