21 lines · plain
1RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.o2 3RUN: echo "%/t.o -o %/t.wasm -e ret32" > %t.rsp4RUN: wasm-ld @%t.rsp --initial-memory=6553605RUN: llvm-readobj --sections %t.wasm | FileCheck %s6CHECK: MinPages: 107 8RUN: not wasm-ld --rsp-quoting=foobar @%t.rsp 2>&1 | \9RUN: FileCheck --check-prefix=INVRSP %s10INVRSP: invalid response file quoting: foobar11 12RUN: echo "blah\foo" > %t.rsp13RUN: not wasm-ld -o a.out --rsp-quoting=windows @%t.rsp 2>&1 | \14RUN: FileCheck --check-prefix=WINRSP %s15WINRSP: error: cannot open blah\foo:16 17RUN: echo "blah\foo" > %t.rsp18RUN: not wasm-ld -o a.out --rsp-quoting=posix @%t.rsp 2>&1 | \19RUN: FileCheck --check-prefix=POSRSP %s20POSRSP: error: cannot open blahfoo:21