Instead of having to remember there are two different envlists, one
default in tox.ini, one contained in CMakeLists.txt have CMakeLists.txt
simply reuse what is in tox.ini. Now, the python programmer who runs
`tox r` should not be surprised if something goes awry during `make
check` simply because `make check` was running a different set of
checks.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
endif()
if(WITH_TESTS)
include(AddCephTest)
- add_tox_test(mgr ${CMAKE_CURRENT_SOURCE_DIR} TOX_ENVS py3 py37 mypy flake8 jinjalint nooptional)
+ add_tox_test(mgr ${CMAKE_CURRENT_SOURCE_DIR} TOX_ENVS __tox_defaults__)
endif()
# Location needs to match default setting for mgr_module_path, currently: