xref: /llvm-project/llvm/test/tools/llvm-mt/xml_error.test (revision fb540741124f16f7886d798c92b64e89043cb53f)
1REQUIRES: libxml2
2UNSUPPORTED: system-windows
3
4RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck \
5RUN:   %s
6
7CHECK: llvm-mt: error: invalid xml document
8
9RUN: not llvm-mt /manifest %p/Inputs/empty.manifest 2>&1 >/dev/null | \
10RUN:   FileCheck %s -check-prefix=EMPTY
11
12EMPTY: llvm-mt: error: attempted to merge empty manifest
13
14RUN: llvm-mt /inputresource:foo.res \
15RUN:   /manifest %p/Inputs/test_manifest.manifest \
16RUN:   /out:%t | FileCheck %s -check-prefix=NOT_SUPPORTED
17
18NOT_SUPPORTED: llvm-mt: ignoring unsupported 'inputresource:' option
19