ansible/test/lib/ansible_test/_internal
Matt Clay c77ab11051
Fix issues with ansible-test --venv option. (#62033)
* Fix ansible-test venv activation.

When using the ansible-test --venv option, an execv wrapper for each python interpreter is now used instead of a symbolic link.

* Fix ansible-test execv wrapper generation.

Use the currently running Python interpreter for the shebang in the execv wrapper instead of the selected interpreter.

This allows the wrapper to work when the selected interpreter is a script instead of a binary.

* Fix ansible-test sanity requirements install.

When running sanity tests on multiple Python versions, install requirements for all versions used instead of only the default version.

* Fix ansible-test --venv when installed.

When running ansible-test from an install, the --venv delegation option needs to make sure the ansible-test code is available in the created virtual environment.

Exposing system site packages does not work because the virtual environment may be for a different Python version than the one on which ansible-test is installed.
2019-09-09 18:32:29 -07:00
..
cloud ansible-test: vcenter+Worldstream: hide password 2019-09-03 10:34:34 -04:00
integration Update collections integration targets path. (#61523) 2019-08-29 03:39:03 -07:00
provider Fix ansible-test handling of submodules. 2019-08-29 12:21:28 -07:00
sanity Fix issues with ansible-test --venv option. (#62033) 2019-09-09 18:32:29 -07:00
units Update collections integration targets path. (#61523) 2019-08-29 03:39:03 -07:00
__init__.py
ansible_util.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
cache.py
changes.py
classification.py More ansible-test path handling updates. (#61484) 2019-08-28 15:13:00 -07:00
cli.py Add a --venv option to ansible-test. (#61422) 2019-08-28 09:10:17 -07:00
config.py Add a --venv option to ansible-test. (#61422) 2019-08-28 09:10:17 -07:00
constants.py
core_ci.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
cover.py Fix ansible-test coverage path handling. (#61528) 2019-08-30 00:18:49 -07:00
coverage_util.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
csharp_import_analysis.py Change collection PS util import pattern (#61307) 2019-08-27 16:02:27 -07:00
data.py More ansible-test path handling updates. (#61484) 2019-08-28 15:13:00 -07:00
delegation.py Fix issues with ansible-test --venv option. (#62033) 2019-09-09 18:32:29 -07:00
diff.py
docker_util.py
env.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
executor.py Update collections integration targets path. (#61523) 2019-08-29 03:39:03 -07:00
git.py ansible-test - Continue if the git command returns an error (#61605) 2019-08-30 12:03:39 -07:00
http.py
import_analysis.py More ansible-test path handling updates. (#61484) 2019-08-28 15:13:00 -07:00
init.py
manage_ci.py Move ansible-test coverage config to test/lib/ 2019-08-07 18:32:46 -07:00
metadata.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
payload.py Support delegation testing collections with deps. 2019-08-27 07:29:42 -07:00
powershell_import_analysis.py Change collection PS util import pattern (#61307) 2019-08-27 16:02:27 -07:00
target.py Update collections integration targets path. (#61523) 2019-08-29 03:39:03 -07:00
test.py Show doc URL for sanity test failures 2019-08-28 15:32:31 -07:00
thread.py
types.py Overhaul ansible-test test path handling. (#61416) 2019-08-27 23:40:06 -07:00
util.py ansible-test - Continue if the git command returns an error (#61605) 2019-08-30 12:03:39 -07:00
util_common.py Fix issues with ansible-test --venv option. (#62033) 2019-09-09 18:32:29 -07:00
venv.py Improve ansible-test --venv error handling. 2019-08-28 16:50:42 -07:00