Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 0f67b20

Browse files
committed
Exclude CodeGeneratorTest from cpu-only sanity test list
1 parent 623038a commit 0f67b20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

omniscidb/Tests/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ function(add_default_cpu_only_tests TEST_LIST)
243243
endforeach()
244244
endfunction()
245245
add_default_cpu_only_tests("${TEST_PROGRAMS}")
246+
set(EXCLUDE_PLATFORM_SPECIFIC_TESTS CodeGeneratorTest)
246247

247248

248249
set(SANITY_TESTS ${TEST_PROGRAMS})
@@ -291,7 +292,7 @@ add_custom_target(sanity_tests
291292
add_custom_target(sanity_cpu_only_tests
292293
COMMAND ${MKDIR_TMP}
293294
COMMAND touch tmp/DictPayload
294-
COMMAND ${ENV_COMMAND} $<SHELL_PATH:${CMAKE_CTEST_COMMAND}> --verbose --label-regex cpu_only ${EXCLUDE_SANITY_TESTS}
295+
COMMAND ${ENV_COMMAND} $<SHELL_PATH:${CMAKE_CTEST_COMMAND}> --verbose --label-regex cpu_only -E ${EXCLUDE_PLATFORM_SPECIFIC_TESTS} ${EXCLUDE_SANITY_TESTS}
295296
DEPENDS ${TEST_PROGRAMS}
296297
USES_TERMINAL)
297298

0 commit comments

Comments
 (0)