[cfe-commits] r83584 - /cfe/trunk/test/Driver/darwin-as.c

Mike Stump mrs at apple.com
Thu Oct 8 15:25:29 PDT 2009


Author: mrs
Date: Thu Oct  8 17:25:29 2009
New Revision: 83584

URL: http://llvm.org/viewvc/llvm-project?rev=83584&view=rev
Log:
Tolerate .exe on executables.  Patch by John Thompson.

Modified:
    cfe/trunk/test/Driver/darwin-as.c

Modified: cfe/trunk/test/Driver/darwin-as.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/darwin-as.c?rev=83584&r1=83583&r2=83584&view=diff

==============================================================================
--- cfe/trunk/test/Driver/darwin-as.c (original)
+++ cfe/trunk/test/Driver/darwin-as.c Thu Oct  8 17:25:29 2009
@@ -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"
 





More information about the cfe-commits mailing list