diff options
Diffstat (limited to 'tests/plugins/loading/plugins/elements')
-rw-r--r-- | tests/plugins/loading/plugins/elements/malformedminversion/badstring.py (renamed from tests/plugins/loading/plugins/elements/malformedminversion/malformedminversion.py) | 0 | ||||
-rw-r--r-- | tests/plugins/loading/plugins/elements/malformedminversion/dict.py | 11 | ||||
-rw-r--r-- | tests/plugins/loading/plugins/elements/malformedminversion/list.py | 11 | ||||
-rw-r--r-- | tests/plugins/loading/plugins/elements/malformedminversion/number.py | 11 |
4 files changed, 33 insertions, 0 deletions
diff --git a/tests/plugins/loading/plugins/elements/malformedminversion/malformedminversion.py b/tests/plugins/loading/plugins/elements/malformedminversion/badstring.py index 5f96c1897..5f96c1897 100644 --- a/tests/plugins/loading/plugins/elements/malformedminversion/malformedminversion.py +++ b/tests/plugins/loading/plugins/elements/malformedminversion/badstring.py diff --git a/tests/plugins/loading/plugins/elements/malformedminversion/dict.py b/tests/plugins/loading/plugins/elements/malformedminversion/dict.py new file mode 100644 index 000000000..1ee2e52f4 --- /dev/null +++ b/tests/plugins/loading/plugins/elements/malformedminversion/dict.py @@ -0,0 +1,11 @@ +# Plugins are required to specify the BST_MIN_VERSION +from buildstream import Element + + +class MalformedMinVersion(Element): + + BST_MIN_VERSION = {"major": 2, "minor": 0} + + +def setup(): + return MalformedMinVersion diff --git a/tests/plugins/loading/plugins/elements/malformedminversion/list.py b/tests/plugins/loading/plugins/elements/malformedminversion/list.py new file mode 100644 index 000000000..c92224969 --- /dev/null +++ b/tests/plugins/loading/plugins/elements/malformedminversion/list.py @@ -0,0 +1,11 @@ +# Plugins are required to specify the BST_MIN_VERSION +from buildstream import Element + + +class MalformedMinVersion(Element): + + BST_MIN_VERSION = [2, 0] + + +def setup(): + return MalformedMinVersion diff --git a/tests/plugins/loading/plugins/elements/malformedminversion/number.py b/tests/plugins/loading/plugins/elements/malformedminversion/number.py new file mode 100644 index 000000000..154f16d33 --- /dev/null +++ b/tests/plugins/loading/plugins/elements/malformedminversion/number.py @@ -0,0 +1,11 @@ +# Plugins are required to specify the BST_MIN_VERSION +from buildstream import Element + + +class MalformedMinVersion(Element): + + BST_MIN_VERSION = 2.0 + + +def setup(): + return MalformedMinVersion |