diff options
| author | Vu Tran <vu.tran@windriver.com> | 2014-06-26 10:16:02 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-07-17 00:09:50 -0400 |
| commit | 197ec92e7a97b0a13b49b3000263759ea7846b4b (patch) | |
| tree | a58839a165e220c54a65ecead3905c6b3ffebf3d /meta-openstack/recipes-devtools/python/python-neutron_git.bb | |
| parent | faa7e3b7caed93e046726ca80510f60c09ed6b98 (diff) | |
| download | meta-cloud-services-197ec92e7a97b0a13b49b3000263759ea7846b4b.tar.gz | |
neutron test: nec plugin extensions location
Some of the neutron built-in testcases failed
because they can not find nec plugin extensions
based on the given relative path.
So forcing these failure testcases to look for
these extensions using absolute path.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index 1314548..2f88e44 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb | |||
| @@ -18,6 +18,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/icehouse \ | |||
| 18 | file://neutron-dhcp-agent-netns-cleanup.cron \ | 18 | file://neutron-dhcp-agent-netns-cleanup.cron \ |
| 19 | file://0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch \ | 19 | file://0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch \ |
| 20 | file://uuid_wscheck.patch \ | 20 | file://uuid_wscheck.patch \ |
| 21 | file://neutron-test-nec-plugin-extensions-location.patch \ | ||
| 21 | " | 22 | " |
| 22 | SRCREV="e0deffc71e5031059530b9b6c2ef3b0765de3d10" | 23 | SRCREV="e0deffc71e5031059530b9b6c2ef3b0765de3d10" |
| 23 | PV="2014.1+git${SRCPV}" | 24 | PV="2014.1+git${SRCPV}" |
| @@ -111,6 +112,8 @@ do_install_append() { | |||
| 111 | -i ${NEUTRON_CONF_DIR}/metadata_agent.ini | 112 | -i ${NEUTRON_CONF_DIR}/metadata_agent.ini |
| 112 | 113 | ||
| 113 | cp run_tests.sh ${NEUTRON_CONF_DIR} | 114 | cp run_tests.sh ${NEUTRON_CONF_DIR} |
| 115 | |||
| 116 | sed 's:%PYTHON_SITEPACKAGES_DIR%:${PYTHON_SITEPACKAGES_DIR}:g' -i ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/tests/unit/nec/test_nec_plugin.py | ||
| 114 | } | 117 | } |
| 115 | 118 | ||
| 116 | pkg_postinst_${SRCNAME}-setup () { | 119 | pkg_postinst_${SRCNAME}-setup () { |
