From 59d682cd28d7914f198d64346543d02229d5d45f Mon Sep 17 00:00:00 2001 From: "David L. Jones" Date: Tue, 31 Jul 2018 21:15:58 +0000 Subject: [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. --- lld/test/ELF/arm-tag-vfp-args-errs.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lld') 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 -- cgit v1.2.3