blob: 70948ea6357a03c7aa76f6d55353960a3f32a2e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/cmake/modules/AddCephTest.cmake b/cmake/modules/AddCephTest.cmake
index ab4dc63ca32..b3496310755 100644
--- a/cmake/modules/AddCephTest.cmake
+++ b/cmake/modules/AddCephTest.cmake
@@ -99,6 +99,17 @@ function(add_tox_test name)
endif()
if(DEFINED TOXTEST_TOX_ENVS)
list(APPEND tox_envs ${TOXTEST_TOX_ENVS})
+ # === MAINTAINER PATCH START: exclude lints / typechecking / etc ===
+ if("__tox_defaults__" IN_LIST tox_envs)
+ set(tox_envs py3)
+ else()
+ list(FILTER tox_envs INCLUDE REGEX "^(py3|check)$")
+ endif()
+
+ if(NOT tox_envs)
+ return()
+ endif()
+ # === MAINTAINER PATCH END ===
else()
list(APPEND tox_envs py3)
endif()
|