[lld] Use %t file in test
authorMikhail Goncharov <goncharov.mikhail@gmail.com>
Mon, 16 Nov 2020 09:37:55 +0000 (10:37 +0100)
committerMikhail Goncharov <goncharov.mikhail@gmail.com>
Mon, 16 Nov 2020 09:49:38 +0000 (10:49 +0100)
Otherwise it fails in some setups when creation of "out.wasm" is not possible.

Differential Revision: https://reviews.llvm.org/D91521

lld/test/wasm/relocation-bad-tls.s

index 3d3e04f..93fa2bb 100644 (file)
@@ -1,5 +1,5 @@
 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
-# RUN: not wasm-ld %t.o -o out.wasm 2>&1 | FileCheck %s
+# RUN: not wasm-ld %t.o -o %t.wasm 2>&1 | FileCheck %s
 
 .globl _start
 _start: