aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-08-19 21:21:32 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-19 21:22:28 +0300
commit724b68d96bb69685b0b878916e4cb89b3368705b (patch)
tree0baced5f9a08190b03e3ad7c3753a4013af50d96 /tests
parent0592d58e5366eac92bc99ef9bdb4368e07c0ddf9 (diff)
Add support for build-time mark (*) in tests, examples, and benchmarks package manifest values
Diffstat (limited to 'tests')
-rw-r--r--tests/manifest/testscript22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/manifest/testscript b/tests/manifest/testscript
index 3d6b060..4770e96 100644
--- a/tests/manifest/testscript
+++ b/tests/manifest/testscript
@@ -710,6 +710,28 @@
tests: bar == 2.0.0-
EOI
+ : no-name
+ :
+ $* <<EOI 2>'stdin:6:8: error: no tests package name specified' != 0
+ : 1
+ name: foo
+ version: 2.0.0
+ summary: Modern C++ parser
+ license: LGPLv2
+ tests: *
+ EOI
+
+ : buildtime
+ :
+ $* <<EOF >>EOF
+ : 1
+ name: foo
+ version: 2.0.0
+ summary: Modern C++ parser
+ license: LGPLv2
+ tests: * foo-tests
+ EOF
+
: complete
:
{