view lld/test/COFF/linkrepro-manifest.test @ 213:25ca0248ac32

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 11 Jul 2021 17:05:31 +0900
parents 2e18cbf3894f
children c4bab56944e8
line wrap: on
line source

REQUIRES: x86, gnutar, manifest_tool

manifest-related files are compiled to a .res file and the .res file is
added to the repro archive, instead of adding the inputs.

RUN: rm -rf %t && mkdir %t && cd %t
RUN: lld-link -entry:__ImageBase -nodefaultlib -linkrepro:%t \
RUN:     -manifest:embed %p/Inputs/std32.lib -subsystem:console \
RUN:     -manifestinput:%p/Inputs/manifestinput.test

RUN: tar tf repro.tar | FileCheck --check-prefix=LIST %s
RUN: tar xOf repro.tar repro/response.txt | FileCheck %s

LIST: manifest.res

CHECK-NOT: -manifest:
CHECK: .manifest.res
CHECK-NOT: -manifest: