]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: do not always add py3 to TOX_ENVS
authorKefu Chai <kchai@redhat.com>
Fri, 9 Oct 2020 05:55:39 +0000 (13:55 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Oct 2020 07:30:37 +0000 (15:30 +0800)
commit7c1544c04cf61edc5ad41dce9156ef622a4c5743
tree0987f66601c382ccaa07e4b18c71f178ef17b919
parent493f216c1efc6feb459981bf75ca939572099ef3
cmake: do not always add py3 to TOX_ENVS

before this change add_tox_test() always add "py3" to testenv, even the
caller specifies TOX_ENVS explicitly.

after this change, py3 is added only if the caller does not specify any
TOX_ENVS.

this change helps with the readability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/AddCephTest.cmake
qa/CMakeLists.txt
src/cephadm/CMakeLists.txt
src/pybind/mgr/CMakeLists.txt
src/pybind/mgr/dashboard/CMakeLists.txt
src/python-common/CMakeLists.txt