1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/tools/llvm-mt/xml_error.test
Eric Beckmann ddb2903ebb llvm-mt: Merge manifest namespaces.
mt.exe performs a tree merge where certain element nodes are combined
into one.  This introduces the possibility of xml namespaces conflicting
with each other.  The original mt.exe has a hierarchy whereby certain
namespace names can override others, and nodes that would then end up in
ambigious namespaces have their namespaces explicitly defined.  This
namespace handles this merging process.

llvm-svn: 311215
2017-08-19 00:37:41 +00:00

19 lines
563 B
Plaintext

REQUIRES: libxml2
UNSUPPORTED: windows
RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck \
RUN: %s
CHECK: llvm-mt error: invalid xml document
RUN: not llvm-mt /manifest %p/Inputs/empty.manifest 2>&1 >/dev/null | \
RUN: FileCheck %s -check-prefix=EMPTY
EMPTY: llvm-mt error: attempted to merge empty manifest
RUN: llvm-mt /inputresource:foo.res \
RUN: /manifest %p/Inputs/test_manifest.manifest \
RUN: /out:%t | FileCheck %s -check-prefix=NOT_SUPPORTED
NOT_SUPPORTED: llvm-mt: ignoring unsupported 'inputresource:' option