]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
python-common: use tox.ini envlist defaults when run via cmake
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 1 Nov 2024 17:47:03 +0000 (13:47 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 4 Nov 2024 20:38:43 +0000 (15:38 -0500)
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 <jmulligan@redhat.com>
src/python-common/CMakeLists.txt

index e89bbe2feef1aeab9762c32db282ce387a449bf7..08660342a6ab6acaf698a568e308131a277767d5 100644 (file)
@@ -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()