summaryrefslogtreecommitdiff
path: root/tests/format/option-element-mask
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-07 18:06:24 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-10 19:29:59 +0900
commit6819bb8c50126538ce8877b8f8c5fb98120001db (patch)
tree71d251b4435c17d32bd8b34f74e3076932818524 /tests/format/option-element-mask
parent7371f57cf421a97430687e77a7477c429b742e61 (diff)
downloadbuildstream-6819bb8c50126538ce8877b8f8c5fb98120001db.tar.gz
tests/format/optioneltmask.py: Added element-mask option specific test cases
Diffstat (limited to 'tests/format/option-element-mask')
-rw-r--r--tests/format/option-element-mask/giraffy.bst6
-rw-r--r--tests/format/option-element-mask/horsy.bst6
-rw-r--r--tests/format/option-element-mask/pony.bst6
-rw-r--r--tests/format/option-element-mask/project.conf6
-rw-r--r--tests/format/option-element-mask/zebry.bst6
5 files changed, 30 insertions, 0 deletions
diff --git a/tests/format/option-element-mask/giraffy.bst b/tests/format/option-element-mask/giraffy.bst
new file mode 100644
index 000000000..1cb7109dd
--- /dev/null
+++ b/tests/format/option-element-mask/giraffy.bst
@@ -0,0 +1,6 @@
+kind: autotools
+variables:
+ debug: False
+ (?):
+ - ("giraffy.bst" in debug_elements):
+ debug: True
diff --git a/tests/format/option-element-mask/horsy.bst b/tests/format/option-element-mask/horsy.bst
new file mode 100644
index 000000000..75e90a16b
--- /dev/null
+++ b/tests/format/option-element-mask/horsy.bst
@@ -0,0 +1,6 @@
+kind: autotools
+variables:
+ debug: False
+ (?):
+ - ("horsy.bst" in debug_elements):
+ debug: True
diff --git a/tests/format/option-element-mask/pony.bst b/tests/format/option-element-mask/pony.bst
new file mode 100644
index 000000000..209ae1481
--- /dev/null
+++ b/tests/format/option-element-mask/pony.bst
@@ -0,0 +1,6 @@
+kind: autotools
+variables:
+ debug: False
+ (?):
+ - ("pony.bst" in debug_elements):
+ debug: True
diff --git a/tests/format/option-element-mask/project.conf b/tests/format/option-element-mask/project.conf
new file mode 100644
index 000000000..ede07fbdd
--- /dev/null
+++ b/tests/format/option-element-mask/project.conf
@@ -0,0 +1,6 @@
+name: test
+
+options:
+ debug_elements:
+ type: element-mask
+ description: The elements to build in debug mode
diff --git a/tests/format/option-element-mask/zebry.bst b/tests/format/option-element-mask/zebry.bst
new file mode 100644
index 000000000..e1eccb376
--- /dev/null
+++ b/tests/format/option-element-mask/zebry.bst
@@ -0,0 +1,6 @@
+kind: autotools
+variables:
+ debug: False
+ (?):
+ - ("zebry.bst" in debug_elements):
+ debug: True