[ELF][test] Avoid race on a.out
authorFangrui Song <i@maskray.me>
Thu, 24 Feb 2022 04:48:49 +0000 (20:48 -0800)
committerFangrui Song <i@maskray.me>
Thu, 24 Feb 2022 04:48:49 +0000 (20:48 -0800)
lld/test/ELF/amdgpu-duplicate-sym.s
lld/test/ELF/mips-gp-disp-ver.s

index 6c7a81d..db92dad 100644 (file)
@@ -2,7 +2,7 @@
 # RUN: llvm-mc -filetype=obj -triple amdgcn-amd-amdhsa -mcpu=gfx1031 --position-independent --relax-relocations %s -o %t.o
 
 # We use lld-link on purpose to exercise -flavor.
-# RUN: lld-link -flavor gnu -shared %t.o
+# RUN: lld-link -flavor gnu -shared %t.o -o /dev/null
 
         .text
         .amdgcn_target "amdgcn-amd-amdhsa--gfx1031"
index 8eaee19..a6bf387 100644 (file)
@@ -6,7 +6,7 @@
 # libraries. This test checks such handling.
 
 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
-# RUN: ld.lld %t.o %S/Inputs/mips-gp-dips-corrupt-ver.so
+# RUN: ld.lld %t.o %S/Inputs/mips-gp-dips-corrupt-ver.so -o /dev/null
 
   .global __start
   .text