diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2019-09-12 12:35:34 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2019-09-12 12:35:34 +0000 |
| commit | d0c800489044f33694954e8537e1e40e39e45264 (patch) | |
| tree | ede82fde3224b82dcd7fd7c8b4a7785a3511da70 | |
| parent | 20f45ed6990458b8cc96fe2101fbbb7f90037dd7 (diff) | |
| download | bcm5719-llvm-d0c800489044f33694954e8537e1e40e39e45264.tar.gz bcm5719-llvm-d0c800489044f33694954e8537e1e40e39e45264.zip | |
lld-link: Fix tests that do not run on macOS after r371729.
llvm-svn: 371732
| -rw-r--r-- | lld/test/COFF/linkrepro-manifest.test | 2 | ||||
| -rw-r--r-- | lld/test/COFF/linkrepro-pdb.test | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/COFF/linkrepro-manifest.test b/lld/test/COFF/linkrepro-manifest.test index a938ab590b2..cb7807d79a1 100644 --- a/lld/test/COFF/linkrepro-manifest.test +++ b/lld/test/COFF/linkrepro-manifest.test @@ -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 diff --git a/lld/test/COFF/linkrepro-pdb.test b/lld/test/COFF/linkrepro-pdb.test index f248c431458..3cd74030801 100644 --- a/lld/test/COFF/linkrepro-pdb.test +++ b/lld/test/COFF/linkrepro-pdb.test @@ -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 |

