diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-12-20 18:55:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-12-20 18:55:59 +0300 |
commit | fb940889f0be56492bde5d008ed48ff58f172948 (patch) | |
tree | fabb90bd129344afe276812f349d274ed60c2891 /tests/manifest | |
parent | f18f62930fd919b5705c452ce5b8a02e2f9e1112 (diff) |
Adapt to requirement alternatives parsing API change
Diffstat (limited to 'tests/manifest')
-rw-r--r-- | tests/manifest/task.testscript | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/manifest/task.testscript b/tests/manifest/task.testscript index 2d50914..bd1a365 100644 --- a/tests/manifest/task.testscript +++ b/tests/manifest/task.testscript @@ -79,13 +79,29 @@ test.options += -t name: foo version: 1.0 repository-url: http://pkg.example.org/1/math - requires: c++14 + requires: {c++ >= 14 windows} requires: host machine: windows target: x86_64-microsoft-win32-msvc14.0 EOF } + : requires-invalid + : + { + $* <<EOI 2>>EOE != 0 + : 1 + name: foo + version: 1.0 + repository-url: http://pkg.example.org/1/math + requires: {c++ >= 14 windows + machine: windows + target: x86_64-microsoft-win32-msvc14.0 + EOI + stdin:5:29: error: requirement or '}' expected + EOE + } + : tests : { |