]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: pass tox envs to run_tox.sh explicitly
authorKefu Chai <kchai@redhat.com>
Mon, 5 Aug 2019 15:37:52 +0000 (23:37 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 5 Aug 2019 16:06:29 +0000 (00:06 +0800)
commit793308f82d997260e013938121b1d231883e8801
tree3f7c9dca093c9195ec66fae33d0162094bfec8e6
parent6cd4c2c967ff1898cdf61ff587bb7420c48f0a71
cmake: pass tox envs to run_tox.sh explicitly

* add two optional keyword parameters to `add_tox_test()`
* use the default `TOX_PATH` parameter instead passing it explicitly,
  as it is always `${CMAKE_CURRENT_SOURCE_DIR}`
* drop the code to guess the tox envs in `run_tox.sh`, and always pass
  them explicitly in CMake script using the `--tox-envs` argument.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/AddCephTest.cmake
src/pybind/mgr/ansible/CMakeLists.txt
src/pybind/mgr/dashboard/CMakeLists.txt
src/pybind/mgr/insights/CMakeLists.txt
src/pybind/mgr/orchestrator_cli/CMakeLists.txt
src/python-common/CMakeLists.txt
src/script/run_tox.sh
src/tools/cephfs/CMakeLists.txt