diff options
author | David Peixotto <dpeixott@codeaurora.org> | 2013-12-10 00:54:30 +0000 |
---|---|---|
committer | David Peixotto <dpeixott@codeaurora.org> | 2013-12-10 00:54:30 +0000 |
commit | 1a74b6e11869fe221b7451b2db857472c35f14a6 (patch) | |
tree | 03e681f20280fa259c9876a37089194a5716408f | |
parent | c12f2a112103ce32966051034d1def8ef470014a (diff) | |
download | bcm5719-llvm-1a74b6e11869fe221b7451b2db857472c35f14a6.tar.gz bcm5719-llvm-1a74b6e11869fe221b7451b2db857472c35f14a6.zip |
Fix via-file-asm test failure on windows
The windows target does not support using an external assembler so
the test case was failing with this error:
error: there is no external assembler that can be used on this platform
The test was updated to always explicitly pass a target that has
both an interal and external assembler.
llvm-svn: 196854
-rw-r--r-- | clang/test/Driver/via-file-asm.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/clang/test/Driver/via-file-asm.c b/clang/test/Driver/via-file-asm.c index 92fc19096e1..3fa5b54b581 100644 --- a/clang/test/Driver/via-file-asm.c +++ b/clang/test/Driver/via-file-asm.c @@ -1,14 +1,10 @@ // Should save and read back the assembly from a file -// RUN: %clang -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s +// RUN: %clang -target arm-none-linux-gnueabi -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s // CHECK: "-cc1" // CHECK: "-o" "[[TMP:[^"]*]]" // CHECK: -cc1as // CHECK: [[TMP]] // Should not force using the integrated assembler -// RUN: %clang -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s +// RUN: %clang -target arm-none-linux-gnueabi -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s // NO_IAS-NOT: "-cc1as" - -// Test arm target specifically for the same behavior -// RUN: %clang -target arm -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s -// RUN: %clang -target arm -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s |