You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/runner
Matt Clay 7b4bc572de
Fix ansible-test target dependency issues. (#50908)
* Log dependencies at verbosity level 4.

This makes it easier to debug target dependency issues.

* Scan symlinks for target dependencies.

Some test targets use symlinks to files in other test targets.
These dependencies were previously undetected. This could result in
changes made to dependencies without triggering the dependent tests.

* Track missing target deps with `needs/target/*`.

Some existing test targets have untracked dependencies on other
test targets. This can result in changes to those dependencies
not triggering their dependent tests, resulting in test failures
after a PR is merged.

This PR adds the appropriate `needs/target/*` aliases to track
those dependencies, along with appropriate processing in
ansible-test to handle the new aliases.

* Scan meta dependencies in script targets.

Script targets are often former role targets which were converted
to allow custom invocations of ansible-playbook. These targets still
have their meta dependencies, but they were not being detected.

This could result in changes to dependencies not triggering the
targets which depend on them.
7 years ago
..
completion ansible-test - swap Fedora 25 for 29 (#49634) 7 years ago
injector Fix ansible-test invocation of pytest. 7 years ago
lib Fix ansible-test target dependency issues. (#50908) 7 years ago
requirements Updated test constraints for mock assert_called() and assert_called_once() 7 years ago
setup Add virtualenv symlink for RHEL 8. 7 years ago
units Add test verification to ansible-test. (#22636) 9 years ago
Makefile Convert ansible-test compile into a sanity test. 8 years ago
ansible-test Make ansible-test available in the bin directory. (#45876) 7 years ago
retry.py Fix ansible-test pylint and pep8 issues. (#24245) 9 years ago
shippable.py Improve ansible-test HttpClient error handling. (#30301) 8 years ago
tox.ini allow ANSIBLE_KEEP_REMOTE_FILES for local test runner (#33357) 8 years ago
versions.py Revert "Relax ansible-test python version checking." 7 years ago