805a73b1e7
contrib/ directory does not follow any standards and will make it harder to programmatically install plugins on devstack. The current structure can also cause namespace collisions when loading them. This moves all plugin modules to a folder with the same name under their directory (e.g. contrib/rackspace/rackspace), allowing requirements, readmes, and other files to be separate from the actual code. This also helps to avoid namespace collisions when loading all the plugins, since all plugins will be under their namespace in the heat package. Example: heat.engine.plugins heat.engine.plugins.docker heat.engine.plugins.marconi heat.engine.plugins.rackspace Since plugin packages are now in a folder one level under contrib/, testr.conf is also updated so that all plugins are discovered correctly. Co-Authored-By: Anderson Mesquita <andersonvom@gmail.com> Related-Bug: #1271226 Change-Id: Ifc8e3ca388253be82471651737da5d399c7cfb98
8 lines
311 B
Plaintext
8 lines
311 B
Plaintext
[DEFAULT]
|
|
test_command=
|
|
PYTHON=$(echo ${PYTHON:-python} | sed 's/--source heat//g')
|
|
${PYTHON} -m subunit.run discover -s . $LISTOPT $IDOPTION
|
|
for plugin in contrib/*; do ${PYTHON} -m subunit.run discover -s $plugin $LISTOPT $IDOPTION; done
|
|
test_id_option=--load-list $IDFILE
|
|
test_list_option=--list
|