[PATCH] D35954: Reject merging of empty manifest.
Eric Beckmann via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 11:48:19 PDT 2017
ecbeckmann created this revision.
https://reviews.llvm.org/D35954
Files:
llvm/test/tools/llvm-mt/Inputs/empty.manifest
llvm/test/tools/llvm-mt/xml_error.test
Index: llvm/test/tools/llvm-mt/xml_error.test
===================================================================
--- llvm/test/tools/llvm-mt/xml_error.test
+++ llvm/test/tools/llvm-mt/xml_error.test
@@ -1,11 +1,18 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35954.108512.patch
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170727/d6d0fb07/attachment.bin>
More information about the llvm-commits
mailing list