[lld] r338440 - [lld] Fix test RUN commands so they don't fail when run in a read-only filesystem.
David L. Jones via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 31 14:15:58 PDT 2018
Author: dlj
Date: Tue Jul 31 14:15:58 2018
New Revision: 338440
URL: http://llvm.org/viewvc/llvm-project?rev=338440&view=rev
Log:
[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.
Modified:
lld/trunk/test/ELF/arm-tag-vfp-args-errs.s
Modified: lld/trunk/test/ELF/arm-tag-vfp-args-errs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-tag-vfp-args-errs.s?rev=338440&r1=338439&r2=338440&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-tag-vfp-args-errs.s (original)
+++ lld/trunk/test/ELF/arm-tag-vfp-args-errs.s Tue Jul 31 14:15:58 2018
@@ -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
More information about the llvm-commits
mailing list