Teach this test to cope with Windows suffixes so that msys builds can

run it.

llvm-svn: 140925
This commit is contained in:
Chandler Carruth 2011-10-01 02:08:56 +00:00
parent 21360a4949
commit c5ab7efea3
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@
// RUN: %clang -no-canonical-prefixes -ccc-host-triple i386-unknown-linux %s -### -o %t.o 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-LD-32 %s
// 32-bit machines may use 'lib' or 'lib32' dependending on how they setup multilib.
// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib{{(32)?}}" "-L/usr/lib/../lib{{(32)?}}"
// CHECK-LD-32: "{{.*}}ld{{(.exe)?}}" {{.*}} "-L/lib/../lib{{(32)?}}" "-L/usr/lib/../lib{{(32)?}}"
//
// RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-unknown-linux %s -### -o %t.o 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-LD-64 %s
// FIXME: Should we allow 'lib' instead of 'lib64' here?
// CHECK-LD-64: "{{.*}}ld" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64"
// CHECK-LD-64: "{{.*}}ld{{(.exe)?}}" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64"