Fix downstream tests

I backported how we do the VERSION detection in 3.5.something. This should
already be fixed upstream.
This commit is contained in:
Shane McDonald 2019-11-25 12:51:49 -05:00
parent 24abc1462f
commit ce8c0066d0
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -364,7 +364,7 @@ check: flake8 pep8 # pyflakes pylint
awx-link:
cp -R /tmp/awx.egg-info /awx_devel/ || true
sed -i "s/placeholder/$(shell git describe --long | sed 's/\./\\./g')/" /awx_devel/awx.egg-info/PKG-INFO
sed -i "s/placeholder/$(shell cat VERSION)/" /awx_devel/awx.egg-info/PKG-INFO
cp -f /tmp/awx.egg-link /venv/awx/lib/python$(PYTHON_VERSION)/site-packages/awx.egg-link
TEST_DIRS ?= awx/main/tests/unit awx/main/tests/functional awx/conf/tests awx/sso/tests