]> granicus.if.org Git - clang/commitdiff
Tolerate .exe on executables. Patch by John Thompson.
authorMike Stump <mrs@apple.com>
Thu, 8 Oct 2009 22:25:29 +0000 (22:25 +0000)
committerMike Stump <mrs@apple.com>
Thu, 8 Oct 2009 22:25:29 +0000 (22:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83584 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/darwin-as.c

index e33b937b75a14be55f877393add35658a945e0da..486dc2e79810287bb0e13cb1a622371845ef0ba6 100644 (file)
@@ -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"