[lld] ca55c99 - [lld][WebAssembly] Do not specify temporary file name in tests.

Ali Tamur via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 18:29:27 PDT 2020


Author: Ali Tamur
Date: 2020-10-30T18:27:28-07:00
New Revision: ca55c99d56d336893a241bd758347a9d19b25fdd

URL: https://github.com/llvm/llvm-project/commit/ca55c99d56d336893a241bd758347a9d19b25fdd
DIFF: https://github.com/llvm/llvm-project/commit/ca55c99d56d336893a241bd758347a9d19b25fdd.diff

LOG: [lld][WebAssembly] Do not specify temporary file name in tests.

bad-reloc.yaml test introduced at 9d1409df87 uses a name (out.wasm) to specify a
temporary output file name, which causes breakage in our system.

Added: 
    

Modified: 
    lld/test/wasm/bad-reloc.yaml

Removed: 
    


################################################################################
diff  --git a/lld/test/wasm/bad-reloc.yaml b/lld/test/wasm/bad-reloc.yaml
index dfab2c606ebe..745ed99e2759 100644
--- a/lld/test/wasm/bad-reloc.yaml
+++ b/lld/test/wasm/bad-reloc.yaml
@@ -1,5 +1,5 @@
 # RUN: yaml2obj %s -o %t.o
-# RUN: not wasm-ld --fatal-warnings -o out.wasm %t.o 2>&1 | FileCheck %s
+# RUN: not wasm-ld --fatal-warnings %t.o -o - 2>&1 | FileCheck %s
 #
 # CHECK: bad-reloc.yaml.tmp.o:(_start): unexpected existing value for R_WASM_MEMORY_ADDR_LEB: existing=1 expected=0
 #


        


More information about the llvm-commits mailing list