2017-10-25 13:00:54 +08:00
|
|
|
REQUIRES: x86, gnutar, manifest_tool
|
|
|
|
|
2021-02-23 03:29:55 +08:00
|
|
|
manifest-related files are compiled to a .res file and the .res file is
|
|
|
|
added to the repro archive, instead of adding the inputs.
|
|
|
|
|
2017-10-25 13:33:28 +08:00
|
|
|
RUN: rm -rf %t && mkdir %t && cd %t
|
2021-02-23 03:29:55 +08:00
|
|
|
RUN: lld-link -entry:__ImageBase -nodefaultlib -linkrepro:%t \
|
|
|
|
RUN: -manifest:embed %p/Inputs/std32.lib -subsystem:console \
|
|
|
|
RUN: -manifestinput:%p/Inputs/manifestinput.test
|
|
|
|
|
2017-10-25 13:33:28 +08:00
|
|
|
RUN: tar tf repro.tar | FileCheck --check-prefix=LIST %s
|
|
|
|
RUN: tar xOf repro.tar repro/response.txt | FileCheck %s
|
2017-10-25 13:00:54 +08:00
|
|
|
|
|
|
|
LIST: manifest.res
|
|
|
|
|
2017-10-25 13:33:28 +08:00
|
|
|
CHECK-NOT: -manifest:
|
2017-10-25 13:00:54 +08:00
|
|
|
CHECK: .manifest.res
|
2017-10-25 13:33:28 +08:00
|
|
|
CHECK-NOT: -manifest:
|