Fix bugs in ansible-test units command. (#24044)

* Handle old versions of coverage.
* Handle old versions of setuptools.
* Detect python version for docker/remote units.
* Add sanity override for test constraints.
This commit is contained in:
Matt Clay 2017-04-27 11:21:11 +08:00 committed by GitHub
commit d662f6f0db
6 changed files with 20 additions and 1 deletions

View file

@ -2,6 +2,7 @@
constraints=$(
grep '.' test/runner/requirements/*.txt \
| grep -v '(sanity_ok)$' \
| sed 's/ *;.*$//; s/ #.*$//' \
| grep -v '/constraints.txt:' \
| grep '[<>=]'