From 00b6d2106b9f41491e892056f406f547d555e7d2 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 23 Feb 2022 20:48:49 -0800 Subject: [PATCH] [ELF][test] Avoid race on a.out --- lld/test/ELF/amdgpu-duplicate-sym.s | 2 +- lld/test/ELF/mips-gp-disp-ver.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/test/ELF/amdgpu-duplicate-sym.s b/lld/test/ELF/amdgpu-duplicate-sym.s index 6c7a81d..db92dad 100644 --- a/lld/test/ELF/amdgpu-duplicate-sym.s +++ b/lld/test/ELF/amdgpu-duplicate-sym.s @@ -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" diff --git a/lld/test/ELF/mips-gp-disp-ver.s b/lld/test/ELF/mips-gp-disp-ver.s index 8eaee19..a6bf387 100644 --- a/lld/test/ELF/mips-gp-disp-ver.s +++ b/lld/test/ELF/mips-gp-disp-ver.s @@ -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 -- 2.7.4