[lld] r371732 - lld-link: Fix tests that do not run on macOS after r371729.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 05:35:34 PDT 2019


Author: nico
Date: Thu Sep 12 05:35:34 2019
New Revision: 371732

URL: http://llvm.org/viewvc/llvm-project?rev=371732&view=rev
Log:
lld-link: Fix tests that do not run on macOS after r371729.

Modified:
    lld/trunk/test/COFF/linkrepro-manifest.test
    lld/trunk/test/COFF/linkrepro-pdb.test

Modified: lld/trunk/test/COFF/linkrepro-manifest.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/linkrepro-manifest.test?rev=371732&r1=371731&r2=371732&view=diff
==============================================================================
--- lld/trunk/test/COFF/linkrepro-manifest.test (original)
+++ lld/trunk/test/COFF/linkrepro-manifest.test Thu Sep 12 05:35:34 2019
@@ -1,7 +1,7 @@
 REQUIRES: x86, gnutar, manifest_tool
 
 RUN: rm -rf %t && mkdir %t && cd %t
-RUN: lld-link -entry:__ImageBase -nodefaultlib -linkrepro:%t -manifest:embed %p/Inputs/std32.lib -subsystem:console
+RUN: lld-link -entry:__ImageBase -nodefaultlib -linkrepro:%t/repro.tar -manifest:embed %p/Inputs/std32.lib -subsystem:console
 RUN: tar tf repro.tar | FileCheck --check-prefix=LIST %s
 RUN: tar xOf repro.tar repro/response.txt | FileCheck %s
 

Modified: lld/trunk/test/COFF/linkrepro-pdb.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/linkrepro-pdb.test?rev=371732&r1=371731&r2=371732&view=diff
==============================================================================
--- lld/trunk/test/COFF/linkrepro-pdb.test (original)
+++ lld/trunk/test/COFF/linkrepro-pdb.test Thu Sep 12 05:35:34 2019
@@ -4,7 +4,7 @@ RUN: rm -rf %t && mkdir -p %t && cd %t
 RUN: yaml2obj %S/Inputs/pdb-type-server-simple-a.yaml -o a.obj
 RUN: yaml2obj %S/Inputs/pdb-type-server-simple-b.yaml -o b.obj
 RUN: llvm-pdbutil yaml2pdb %S/Inputs/pdb-type-server-simple-ts.yaml -pdb ts.pdb
-RUN: lld-link a.obj b.obj -entry:main -debug -out:%t.exe -pdb:%t.pdb -nodefaultlib -linkrepro:.
+RUN: lld-link a.obj b.obj -entry:main -debug -out:%t.exe -pdb:%t.pdb -nodefaultlib -linkrepro:repro.tar
 RUN: tar xOf repro.tar repro/%:t/ts.pdb > repro-ts.pdb
 RUN: diff ts.pdb repro-ts.pdb
 
@@ -15,7 +15,7 @@ PDB: -out:linkrepro-pdb.test.tmp.exe
 PDB-NEXT: -pdb:linkrepro-pdb.test.tmp.pdb
 
 RUN: yaml2obj < %p/Inputs/export.yaml > %t1.obj
-RUN: lld-link /out:%t1.dll /dll %t1.obj /implib:%t1.lib /export:exportfn1 /export:exportfn2 /linkrepro:.
+RUN: lld-link /out:%t1.dll /dll %t1.obj /implib:%t1.lib /export:exportfn1 /export:exportfn2 /linkrepro:repro.tar
 RUN: tar xf repro.tar
 RUN: cat repro/response.txt | FileCheck -check-prefix=IMP %s
 




More information about the llvm-commits mailing list