Skip to content

Commit 7656179

Browse files
authored
Skip adding tests for disabled tasks (instead of revert) (#226)
close #184
1 parent 0b2150b commit 7656179

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tasks/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ foreach(TASK_TYPE ${LIST_OF_TASKS})
5959
file(GLOB SRC_RES "${PATH_PREFIX}/src/*")
6060
list(APPEND SRC_RES ${TMP_SRC_RES})
6161

62+
if ("${subd}" MATCHES "_disabled$")
63+
message(WARNING " -- SKIPPED func and perf tests for ${PATH_TO_TASK}/${subd}")
64+
continue()
65+
endif()
6266
file(GLOB_RECURSE TMP_FUNC_TESTS_SOURCE_FILES "${PATH_PREFIX}/func_tests/*")
6367
list(APPEND FUNC_TESTS_SOURCE_FILES ${TMP_FUNC_TESTS_SOURCE_FILES})
6468

0 commit comments

Comments
 (0)