d8dd053b0a
As part of the work to allow VPN functionals job to run when Neutron commits are reviewed, we need to be more intelligent about how dependencies are resolved in the tox.ini for this repo. This commit does the same as LBaaS, using a script to determine whether an existing Neutron repo exists (and use that for a Neutron patch-set running the VPN tests) or whether the Neutron repo needs to be cloned (for a VPN patch set). With the VPN repo, the rootwrap config file and filters need to be set up. The deploy_rootwrap script is modified to do all actions related to setup, instead of doing part of that in tox.ini, as before. In addition, rootwrap config and needed filters for testing from Neutron are added to this repo, so there is no dependency on Neutron (whose location cannot be assumed in the gate). NOTE: To run functional tests locally, one needs to set VENV for the desired functional target and invoke configure_vpn_for_func_testing.sh. Next, run tox for the functional target with --notest to setup the virtual environment. Then, install Neutron into the virtual env. Finally, the functional test can then be invoked. This must be upstreamed, before allowing the VPN functional job to run for Neutron jobs. Change-Id: Idb3c4dff0dbb40e30b2b49591df0b014b769f167 |
||
---|---|---|
.. | ||
check_i18n_test_case.txt | ||
check_i18n.py | ||
check_unit_test_structure.sh | ||
clean.sh | ||
configure_for_vpn_func_testing.sh | ||
deploy_rootwrap.sh | ||
i18n_cfg.py | ||
install_venv_common.py | ||
install_venv.py | ||
pretty_tox.sh | ||
subunit-trace.py | ||
tox_install.sh | ||
with_venv.sh |