From: John Mulligan Date: Fri, 1 Nov 2024 17:47:03 +0000 (-0400) Subject: python-common: use tox.ini envlist defaults when run via cmake X-Git-Tag: v20.0.0~647^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b02cef96ca53840b7538803ced595d503131a9f1;p=ceph.git python-common: use tox.ini envlist defaults when run via cmake Match recent(ish) changes to CMakeLists.txt for src/pybind/mgr and stop hard-coding a list of tox envs to run when testing is triggered via cmake. Instead, automatically reuse the defaults in tox.ini. This is good because we recently changed those defaults and this change makes 'make check' run the same set of tests and checks again. Signed-off-by: John Mulligan --- diff --git a/src/python-common/CMakeLists.txt b/src/python-common/CMakeLists.txt index e89bbe2feef..08660342a6a 100644 --- a/src/python-common/CMakeLists.txt +++ b/src/python-common/CMakeLists.txt @@ -3,5 +3,5 @@ distutils_install_module(ceph) if(WITH_TESTS) include(AddCephTest) - add_tox_test(python-common TOX_ENVS py3 lint) + add_tox_test(python-common TOX_ENVS __tox_defaults__) endif()