aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/task.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest/task.testscript')
-rw-r--r--tests/manifest/task.testscript18
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
:
{