forked from OSchip/llvm-project
lld-link: Fix tests that do not run on macOS after r371729.
llvm-svn: 371732
This commit is contained in:
parent
20f45ed699
commit
d0c8004890
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue