xref: /llvm-project/llvm/test/tools/llvm-mt/notify_update.test (revision e970d2823cf2a666cb597bf06ff8e0d0b880d361)
1REQUIRES: libxml2
2UNSUPPORTED: system-windows
3
4Exits normally without /notify_update
5RUN: llvm-mt /manifest %p/Inputs/test_manifest.manifest /out:%t.manifest
6RUN: rm -f %t.manifest
7
8We can't check exit code so all we can do is see if not considered it as a failure
9
10File didn't exist previously so it's an update
11RUN: not llvm-mt /manifest %p/Inputs/test_manifest.manifest /out:%t.manifest /notify_update
12RUN: llvm-mt /manifest %p/Inputs/test_manifest.manifest /out:%t.manifest /notify_update
13
14New manifest, so it's an update
15RUN: not llvm-mt /manifest %p/Inputs/additional.manifest /out:%t.manifest /notify_update
16RUN: llvm-mt /manifest %p/Inputs/additional.manifest /out:%t.manifest /notify_update
17