[lld] r361297 - Fix test to put its outputs into the temp directory.

Richard Smith via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 12:41:19 PDT 2019


Author: rsmith
Date: Tue May 21 12:41:19 2019
New Revision: 361297

URL: http://llvm.org/viewvc/llvm-project?rev=361297&view=rev
Log:
Fix test to put its outputs into the temp directory.

Modified:
    lld/trunk/test/wasm/reproduce.ll

Modified: lld/trunk/test/wasm/reproduce.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/reproduce.ll?rev=361297&r1=361296&r2=361297&view=diff
==============================================================================
--- lld/trunk/test/wasm/reproduce.ll (original)
+++ lld/trunk/test/wasm/reproduce.ll Tue May 21 12:41:19 2019
@@ -2,7 +2,7 @@
 ; RUN: rm -rf %t.dir
 ; RUN: mkdir -p %t.dir
 ; RUN: llc -filetype=obj %s -o %t.dir/foo.o
-; RUN: wasm-ld --reproduce=%t.dir/repro.tar -o out.wasm %t.dir/foo.o
+; RUN: wasm-ld --reproduce=%t.dir/repro.tar -o %t.dir/out.wasm %t.dir/foo.o
 
 ; RUN: cd %t.dir
 ; RUN: tar tf repro.tar | FileCheck --check-prefix=TAR %s
@@ -14,7 +14,7 @@
 ; RUN: tar xf repro.tar
 ; RUN: FileCheck --check-prefix=RSP %s < repro/response.txt
 
-; RSP: -o out.wasm
+; RSP: -o {{.*}}out.wasm
 ; RSP: {{.*}}/foo.o
 
 ; RUN: FileCheck %s --check-prefix=VERSION < repro/version.txt




More information about the llvm-commits mailing list