diff options
author | David L. Jones <dlj@google.com> | 2018-07-31 21:15:58 +0000 |
---|---|---|
committer | David L. Jones <dlj@google.com> | 2018-07-31 21:15:58 +0000 |
commit | 59d682cd28d7914f198d64346543d02229d5d45f (patch) | |
tree | 2f53538f303c8175b93c00f80bfc52b03a82b27e /lld | |
parent | 50e604a5d0553f7817c22aa30fcc2f61f467ce0e (diff) |
[lld] Fix test RUN commands so they don't fail when run in a read-only filesystem.
Some test setups run tests in a read-only path, which means that opening the
default output path (a.out) for write will fail. This change adds appropriate -o
flags so the tests will not fail spuriously.
Diffstat (limited to 'lld')
-rw-r--r-- | lld/test/ELF/arm-tag-vfp-args-errs.s | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lld/test/ELF/arm-tag-vfp-args-errs.s b/lld/test/ELF/arm-tag-vfp-args-errs.s index 03e84edc1e9..622cea07a04 100644 --- a/lld/test/ELF/arm-tag-vfp-args-errs.s +++ b/lld/test/ELF/arm-tag-vfp-args-errs.s @@ -3,12 +3,12 @@ // RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %S/Inputs/arm-vfp-arg-vfp.s -o %tvfp.o // RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %S/Inputs/arm-vfp-arg-toolchain.s -o %ttoolchain.o // RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o -// RUN: not ld.lld %t.o %tbase.o %tvfp.o 2>&1 | FileCheck %s -// RUN: not ld.lld %t.o %tbase.o %ttoolchain.o 2>&1 | FileCheck %s -// RUN: not ld.lld %t.o %tvfp.o %tbase.o 2>&1 | FileCheck %s -// RUN: not ld.lld %t.o %tvfp.o %ttoolchain.o 2>&1 | FileCheck %s -// RUN: not ld.lld %t.o %ttoolchain.o %tbase.o 2>&1 | FileCheck %s -// RUN: not ld.lld %t.o %ttoolchain.o %tvfp.o 2>&1 | FileCheck %s +// RUN: not ld.lld %t.o %tbase.o %tvfp.o -o%t 2>&1 | FileCheck %s +// RUN: not ld.lld %t.o %tbase.o %ttoolchain.o -o%t 2>&1 | FileCheck %s +// RUN: not ld.lld %t.o %tvfp.o %tbase.o -o%t 2>&1 | FileCheck %s +// RUN: not ld.lld %t.o %tvfp.o %ttoolchain.o -o%t 2>&1 | FileCheck %s +// RUN: not ld.lld %t.o %ttoolchain.o %tbase.o -o%t 2>&1 | FileCheck %s +// RUN: not ld.lld %t.o %ttoolchain.o %tvfp.o -o%t 2>&1 | FileCheck %s // CHECK: incompatible Tag_ABI_VFP_args .arch armv7-a |