blob: d441344570f637ebc591a8868ff6bd888def3b12 [file] [log] [blame]
REQUIRES: libxml2
UNSUPPORTED: system-windows
RUN: llvm-mt /manifest %p/Inputs/trust_info.manifest \
RUN: /manifest %p/Inputs/assembly_identity.manifest \
RUN: /manifest %p/Inputs/trust_and_identity.manifest \
RUN: /manifest %p/Inputs/compatibility.manifest \
RUN: /manifest %p/Inputs/windows_settings.manifest /out:%t
RUN: FileCheck %s -input-file=%t
CHECK: <?xml version="1.0" encoding="UTF-8"?>
CHECK-NEXT: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
CHECK-NEXT: <ms_asmv1:trustInfo xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:ms_asmv1="urn:schemas-microsoft-com:asm.v1">
CHECK-NEXT: <ms_asmv1:security>
CHECK-NEXT: <ms_asmv1:requestedPrivileges>
CHECK-NEXT: <ms_asmv1:requestedExecutionLevel level="trust1" ms_asmv1:access="false"/>
CHECK-NEXT: </ms_asmv1:requestedPrivileges>
CHECK-NEXT: </ms_asmv1:security>
CHECK-NEXT: </ms_asmv1:trustInfo>
CHECK-NEXT: <ms_asmv2:dependency xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
CHECK-NEXT: <ms_asmv2:dependentAssembly>
CHECK-NEXT: <ms_asmv2:assemblyIdentity foo="bar" name="identity1" version="1.2.3.4"/>
CHECK-NEXT: </ms_asmv2:dependentAssembly>
CHECK-NEXT: </ms_asmv2:dependency>
CHECK-NEXT: <dependency>
CHECK-NEXT: <dependentAssembly>
CHECK-NEXT: <assemblyIdentity bar="foo" name="my assembly" version="5"/>
CHECK-NEXT: </dependentAssembly>
CHECK-NEXT: </dependency>
CHECK-NEXT: <application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
CHECK-NEXT: <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
CHECK-NEXT: <supportedOS Id="FooOS"/>
CHECK-NEXT: <supportedOS Id="BarOS"/>
CHECK-NEXT: </compatibility>
CHECK-NEXT: <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
CHECK-NEXT: <dpiAware>true/pm</dpiAware>
CHECK-NEXT: </asmv3:windowsSettings>
CHECK-NEXT: </application>
CHECK-NEXT: </assembly>