llvm.org GIT mirror llvm / b877624
Add test to reject merging of empty manifest. Reviewers: ruiu, rnk Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D35954 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309317 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Beckmann 2 years ago
2 changed file(s) with 9 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 REQUIRES: libxml2
11 UNSUPPORTED: windows
22
3 RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck %s
3 RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck \
4 RUN: %s
45
56 CHECK: llvm-mt error: invalid xml document
67
8 RUN: not llvm-mt /manifest %p/Inputs/empty.manifest 2>&1 >/dev/null | \
9 RUN: FileCheck %s -check-prefix=EMPTY
10
11 EMPTY: llvm-mt error: attempted to merge empty manifest
12
713 RUN: llvm-mt /inputresource:foo.res /manifest \
8 RUN: %p/Inputs/test_manifest.manifest | FileCheck %s -check-prefix=NOT_SUPPORTED
14 RUN: %p/Inputs/test_manifest.manifest | FileCheck %s \
15 RUN: -check-prefix=NOT_SUPPORTED
916
1017 NOT_SUPPORTED: llvm-mt: ignoring unsupported 'inputresource:' option