aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-10-08 22:25:29 +0000
committerMike Stump <mrs@apple.com>2009-10-08 22:25:29 +0000
commit5385b4a1d0782c9f84f093d7004873a2ef7dae04 (patch)
treef1a593126b3631ef2540dca854f3dc61e47d674f
parent0c728f1eb2e8e6e5adc2501c6fdcd87105b34d5c (diff)
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
-rw-r--r--test/Driver/darwin-as.c4
1 files changed, 2 insertions, 2 deletions
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"