From fb940889f0be56492bde5d008ed48ff58f172948 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 20 Dec 2021 18:55:59 +0300 Subject: Adapt to requirement alternatives parsing API change --- tests/manifest/task.testscript | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'tests/manifest/task.testscript') 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 + : + { + $* <>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 : { -- cgit v1.1