]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/insights/run-tox.sh
3 # run from ./ or from ../
4 : ${MGR_INSIGHTS_VIRTUALENV:=$CEPH_BUILD_DIR/mgr-insights-virtualenv}
7 : ${CEPH_BUILD_DIR:=$PWD/.tox}
8 test -d insights
&& cd insights
10 if [ -e tox.ini
]; then
11 TOX_PATH
=`readlink -f tox.ini`
13 TOX_PATH
=`readlink -f $(dirname $0)/tox.ini`
16 # tox.ini will take care of this.
18 export CEPH_BUILD_DIR
=$CEPH_BUILD_DIR
20 source ${MGR_INSIGHTS_VIRTUALENV}/bin
/activate
22 if [ "$WITH_PYTHON2" = "ON" ]; then
25 if [ "$WITH_PYTHON3" = "ON" ]; then
29 tox
-c ${TOX_PATH} -e ${ENV_LIST}