Commit Graph

3 Commits (9e1b19e3640de5992864420ae68c4e4dcf3b147c)

Author SHA1 Message Date
Matt Clay de11b473a6 Revert "Relax ansible-test python version checking."
This reverts commit d6cc3c4187.
6 years ago
Matt Clay d6cc3c4187 Relax ansible-test python version checking. 6 years ago
Matt Clay 0dc7f38787
Improve ansible-test environment checking between tests. (#46459)
* Add unified diff output to environment validation.

This makes it easier to see where the environment changed.

* Compare Python interpreters by version to pip shebangs.

This helps expose cases where pip executables use a different
Python interpreter than is expected.

* Query `pip.__version__` instead of using `pip --version`.

This is a much faster way to query the pip version. It also more
closely matches how we invoke pip within ansible-test.

* Remove redundant environment scan between tests.

This reuses the environment scan from the end of the previous test
as the basis for comparison during the next test.
6 years ago