aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-03-22 13:18:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-03-23 18:32:37 +0300
commit723a15c5390d0c5eb42f2082fcedb7262e7bc856 (patch)
tree7bef948322e2de710f44943e1e0dd621dc9b0d86 /tests/manifest/testscript
parentc97dba3a4f2af33091112a347e181a5a2edc9914 (diff)
Add package_manifest::effective_type_sub_options()
Diffstat (limited to 'tests/manifest/testscript')
-rw-r--r--tests/manifest/testscript20
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/manifest/testscript b/tests/manifest/testscript
index 6f714ad..222d262 100644
--- a/tests/manifest/testscript
+++ b/tests/manifest/testscript
@@ -129,7 +129,7 @@
: 1
name: foo
version: 2.0.0
- type: bash
+ type: bash, something extra
summary: Modern C++ parser
license: LGPLv2
EOO
@@ -4757,3 +4757,21 @@
}
}
}
+
+: effective-type
+:
+{
+ test.options += -et
+
+ $* '' libfoo >'lib' : lib-prefix
+ $* '' foo >'exe' : no-lib-prefix
+ $* 'mixed' foo >'other' : other
+
+ : lib-binless
+ :
+ $* 'lib,binless,extras' libfoo >>EOO
+ lib
+ binless
+ extras
+ EOO
+}