Fix lld/wasm test portability issue, and XFAIL the test
authorReid Kleckner <rnk@google.com>
Sat, 31 Oct 2020 18:19:28 +0000 (11:19 -0700)
committerReid Kleckner <rnk@google.com>
Sat, 31 Oct 2020 18:19:28 +0000 (11:19 -0700)
I don't see any warnings from lld.wasm locally. Needs more
investigation.

lld/test/wasm/bad-reloc.yaml

index 745ed99..9b07c44 100644 (file)
@@ -1,11 +1,14 @@
 # RUN: yaml2obj %s -o %t.o
-# RUN: not wasm-ld --fatal-warnings %t.o -o - 2>&1 | FileCheck %s
+# RUN: not wasm-ld --fatal-warnings %t.o -o /dev/null 2>&1 | FileCheck %s
 #
 # CHECK: bad-reloc.yaml.tmp.o:(_start): unexpected existing value for R_WASM_MEMORY_ADDR_LEB: existing=1 expected=0
 #
 # The code section bellow has been modified such that the target of the
 # relocation is 8180808000 (LEB of 1) rather than 8080808000 (LEB = 0)
 
+# FIXME: Error doesn't appear to arise.
+# XFAIL: windows
+
 --- !WASM
 FileHeader:
   Version:         0x00000001