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 | 691a2223db5dced0b00e596638f2bf2d7171aeee (patch) | |
tree | ec3dba0cebed5ad3a1f78ff4af7c3a5919dfe9d9 /test/Driver/via-file-asm.c | |
parent | fe34a2b420c2b7f543443e5e847e6e58d5aae1cf (diff) | |
download | clang-691a2223db5dced0b00e596638f2bf2d7171aeee.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/via-file-asm.c')
-rw-r--r-- | test/Driver/via-file-asm.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/Driver/via-file-asm.c b/test/Driver/via-file-asm.c index 92fc19096e..3fa5b54b58 100644 --- a/test/Driver/via-file-asm.c +++ b/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 |