2017-07-21 05:42:04 +08:00
|
|
|
REQUIRES: libxml2
|
2018-02-09 02:45:16 +08:00
|
|
|
UNSUPPORTED: system-windows
|
2017-07-21 05:42:04 +08:00
|
|
|
|
2017-07-28 03:58:12 +08:00
|
|
|
RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck \
|
|
|
|
RUN: %s
|
2017-07-21 05:42:04 +08:00
|
|
|
|
2018-06-24 00:49:07 +08:00
|
|
|
CHECK: llvm-mt: error: invalid xml document
|
2017-07-21 05:42:04 +08:00
|
|
|
|
2017-07-28 03:58:12 +08:00
|
|
|
RUN: not llvm-mt /manifest %p/Inputs/empty.manifest 2>&1 >/dev/null | \
|
|
|
|
RUN: FileCheck %s -check-prefix=EMPTY
|
|
|
|
|
2018-06-24 00:49:07 +08:00
|
|
|
EMPTY: llvm-mt: error: attempted to merge empty manifest
|
2017-07-28 03:58:12 +08:00
|
|
|
|
2017-08-19 08:37:41 +08:00
|
|
|
RUN: llvm-mt /inputresource:foo.res \
|
|
|
|
RUN: /manifest %p/Inputs/test_manifest.manifest \
|
|
|
|
RUN: /out:%t | FileCheck %s -check-prefix=NOT_SUPPORTED
|
2017-07-21 05:42:04 +08:00
|
|
|
|
|
|
|
NOT_SUPPORTED: llvm-mt: ignoring unsupported 'inputresource:' option
|