REQUIRES: libxml2
UNSUPPORTED: windows
-RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck %s
+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 /manifest \
-RUN: %p/Inputs/test_manifest.manifest | FileCheck %s -check-prefix=NOT_SUPPORTED
+RUN: %p/Inputs/test_manifest.manifest | FileCheck %s \
+RUN: -check-prefix=NOT_SUPPORTED
NOT_SUPPORTED: llvm-mt: ignoring unsupported 'inputresource:' option