]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/venv: Fix the python version of the test environment 29761/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 20 Aug 2019 11:08:50 +0000 (13:08 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 27 Aug 2019 13:10:21 +0000 (15:10 +0200)
commitc70e7af4a6680307200c5f85727f8f85a3c1533b
treec7b97bcffc7fc4f4b0b69c42761ec08e3590af36
parentd373178c4305c71a9f180dc6aef9ebb16fb55d6f
test/venv: Fix the python version of the test environment

Otherwise it will result in:
[ 59%] preparing venv for mgr-dashboard
New python executable in /home/jenkins/workspace/ceph-master/build/mgr-dashboard-virtualenv/bin/python2.7
Also creating executable in /home/jenkins/workspace/ceph-master/build/mgr-dashboard-virtualenv/bin/python
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/local/bin/python2.7

Even though the Cmake options contained:
  '-DWITH_PYTHON2=OFF' '-DWITH_PYTHON3=3' '-DMGR_PYTHON_VERSION=3'

Mostly due to the fact that
  src/tools/setup-virtualenv.sh
default to:
  PYTHON_BINARY="python2.7"

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
cmake/modules/AddCephTest.cmake