summaryrefslogtreecommitdiff
path: root/tests/plugins/loading/project.conf
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-27 17:12:08 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-29 16:24:59 +0900
commitb3556a3284708b904f20586d4636c31a91106809 (patch)
treeaf74bdc3f02ba14150b060c6e7cf617d663aec7d /tests/plugins/loading/project.conf
parent3b1af6036c14d4a9b017776358b4ac4c5622ec9e (diff)
downloadbuildstream-b3556a3284708b904f20586d4636c31a91106809.tar.gz
tests/plugins/loading.py: New test replaces removed internal test
This test tests some of the basic failure modes of plugin loading, which used to be written as internal tests but is not implemented as a proper end-to-end test. This commit also adds some machine readable reason codes to pluginfactory.py so that we can assert the errors more specifically.
Diffstat (limited to 'tests/plugins/loading/project.conf')
-rw-r--r--tests/plugins/loading/project.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/plugins/loading/project.conf b/tests/plugins/loading/project.conf
new file mode 100644
index 000000000..738051af9
--- /dev/null
+++ b/tests/plugins/loading/project.conf
@@ -0,0 +1,8 @@
+# This project.conf gets rewritten for each plugin loading test
+name: test
+
+# Required BuildStream version
+min-version: 2.0
+
+# Subdirectory where elements are stored
+element-path: elements