From: Chandler Carruth Date: Sat, 1 Oct 2011 02:08:56 +0000 (+0000) Subject: Teach this test to cope with Windows suffixes so that msys builds can X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00ca8483cf8e86a5ea08310c6727fd7848980043;p=clang Teach this test to cope with Windows suffixes so that msys builds can run it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140925 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/linux-ld.c b/test/Driver/linux-ld.c index 60a7e0d067..b1a0d6880b 100644 --- a/test/Driver/linux-ld.c +++ b/test/Driver/linux-ld.c @@ -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"