aboutsummaryrefslogtreecommitdiff
path: root/tests/build-class-expr/testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-12-07 21:38:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-12-11 13:59:03 +0300
commitfbabb3ddf7f9bee71a6be767cc911b5b3b96333a (patch)
treeaa3b31024f2fb0c6b53961afbfe9de2a6ba29cb8 /tests/build-class-expr/testscript
parentb05ca3928c826b46a087f3e1f8ff24069c65ff0b (diff)
Add support for build configuration class inheritance
Diffstat (limited to 'tests/build-class-expr/testscript')
-rw-r--r--tests/build-class-expr/testscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/build-class-expr/testscript b/tests/build-class-expr/testscript
index cfa1400..006d12d 100644
--- a/tests/build-class-expr/testscript
+++ b/tests/build-class-expr/testscript
@@ -88,6 +88,14 @@
{
$* <'+!x'
}
+
+ : base
+ :
+ {
+ test.arguments += a:x b:y c
+
+ $* <'+y'
+ }
}
: mismatch
@@ -122,4 +130,13 @@
{
$* <'+a' == 1
}
+
+
+ : base
+ :
+ {
+ test.arguments += a:x b:y c
+
+ $* <'+z' == 1
+ }
}