From: Mike Stump Date: Thu, 8 Oct 2009 22:25:29 +0000 (+0000) Subject: Tolerate .exe on executables. Patch by John Thompson. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5385b4a1d0782c9f84f093d7004873a2ef7dae04;p=clang Tolerate .exe on executables. Patch by John Thompson. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83584 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/darwin-as.c b/test/Driver/darwin-as.c index e33b937b75..486dc2e798 100644 --- a/test/Driver/darwin-as.c +++ b/test/Driver/darwin-as.c @@ -1,10 +1,10 @@ // RUN: clang -ccc-host-triple i386-apple-darwin10 -### -x assembler -c %s -static -dynamic 2>%t && // RUN: FileCheck -check-prefix=STATIC_AND_DYNAMIC-32 --input-file %t %s && -// CHECK-STATIC_AND_DYNAMIC-32: as" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o" +// CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o" // RUN: clang -ccc-host-triple x86_64-apple-darwin10 -### -x assembler -c %s -static 2>%t && // RUN: FileCheck -check-prefix=STATIC-64 --input-file %t %s -// CHECK-STATIC-64: as" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o" +// CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o"