summaryrefslogtreecommitdiff
path: root/tests/elements
diff options
context:
space:
mode:
authorThomas Coldrick <thomas.coldrick@codethink.co.uk>2019-09-11 10:18:11 +0100
committerThomas Coldrick <othko97@gmail.com>2019-09-16 06:55:56 +0000
commit4e63710a5136c7ca8d87a5e86908e7de3de05f4a (patch)
tree017d4a7b430c36865830b9748433c80fec728d6c /tests/elements
parentb2af82add70ca6c582d08d916fb243493de397e2 (diff)
downloadbuildstream-4e63710a5136c7ca8d87a5e86908e7de3de05f4a.tar.gz
element.py: Abstract not producing artifacts
Currently the stack element does not produce an artifact, and sometimes has to be treated differently because of this. It is conceivable that someone will write a plugin that must be treated similarly and doesn't produce an artifact. As a result this commit abstracts this "not producing an artifact" feature of elements.
Diffstat (limited to 'tests/elements')
-rw-r--r--tests/elements/filter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/elements/filter.py b/tests/elements/filter.py
index b8dd4351e..fc64c0342 100644
--- a/tests/elements/filter.py
+++ b/tests/elements/filter.py
@@ -558,4 +558,4 @@ def test_filter_stack_depend_failure(datafiles, cli):
project = str(datafiles)
result = cli.run(project=project, args=['build', 'forbidden-stack-dep.bst'])
- result.assert_main_error(ErrorDomain.ELEMENT, "filter-bdepend-is-stack")
+ result.assert_main_error(ErrorDomain.ELEMENT, "filter-bdepend-no-artifact")