Fix virtualenv activation in tests.

This commit is contained in:
Matt Clay 2019-03-27 10:49:54 -07:00
parent 13b3cfc040
commit ec83f52fa8

View file

@ -3,3 +3,6 @@
rm -rf "${OUTPUT_DIR}/venv"
"${ANSIBLE_TEST_PYTHON_INTERPRETER}" -m virtualenv --system-site-packages --python "${ANSIBLE_TEST_PYTHON_INTERPRETER}" "${OUTPUT_DIR}/venv"
set +ux
source "${OUTPUT_DIR}/venv/bin/activate"
set -ux