aboutsummaryrefslogtreecommitdiff
path: root/tests/overrides
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-09 19:41:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-10 14:16:19 +0300
commitbf42edca4c714138b59f429f44368a71a855902f (patch)
tree9b692243c8910ad52d5d04e1772c2311808dd96d /tests/overrides
parent10b1d816fbea0f7c88fa1e4c56b5d757212fe751 (diff)
Override build constraints group values hierarchically
Diffstat (limited to 'tests/overrides')
-rw-r--r--tests/overrides/testscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/overrides/testscript b/tests/overrides/testscript
index 6100485..babe57d 100644
--- a/tests/overrides/testscript
+++ b/tests/overrides/testscript
@@ -53,12 +53,35 @@
summary: Modern C++ parser
license: LGPLv2
builds: default
+ build-exclude: freebsd*
EOI
: 1
name: libfoo
version: 2.0.0
summary: Modern C++ parser
license: LGPLv2
+ builds: default
+ build-include: linux*
+ build-exclude: *; Only supports Linux.
+ EOO
+
+ : builds-build-include-exclude
+ :
+ $* 'build-include: linux*' 'build-exclude: *; Only supports Linux.' 'builds: all' <<EOI >>EOO
+ : 1
+ name: libfoo
+ version: 2.0.0
+ summary: Modern C++ parser
+ license: LGPLv2
+ builds: default
+ build-exclude: windows; Only supports POSIX.
+ EOI
+ : 1
+ name: libfoo
+ version: 2.0.0
+ summary: Modern C++ parser
+ license: LGPLv2
+ builds: all
build-include: linux*
build-exclude: *; Only supports Linux.
EOO