Skip to content

Commit 2d2b795

Browse files
Don't skip neo shared tests when opencl tests are skipped
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
1 parent 1c8a503 commit 2d2b795

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/run_ult_target.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ list(GET unit_test_config 4 revision_id)
1313

1414
add_custom_target(run_${product}_${revision_id}_unit_tests ALL DEPENDS unit_tests)
1515
set_target_properties(run_${product}_${revision_id}_unit_tests PROPERTIES FOLDER "${PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER}/${product}/${revision_id}")
16-
if(NOT NEO_SKIP_OCL_UNIT_TESTS)
16+
if(NOT NEO_SKIP_SHARED_UNIT_TESTS)
1717
add_custom_command(
1818
TARGET run_${product}_${revision_id}_unit_tests
1919
POST_BUILD
@@ -22,6 +22,8 @@ if(NOT NEO_SKIP_OCL_UNIT_TESTS)
2222
COMMAND ${NEO_RUN_INTERCEPTOR_LIST} $<TARGET_FILE:neo_shared_tests> --product ${product} --slices ${slices} --subslices ${subslices} --eu_per_ss ${eu_per_ss} ${GTEST_EXCEPTION_OPTIONS} --gtest_repeat=${GTEST_REPEAT} ${GTEST_SHUFFLE} ${NEO_TESTS_LISTENER_OPTION} ${GTEST_FILTER_OPTION} --rev_id ${revision_id}
2323
)
2424

25+
endif()
26+
if(NOT NEO_SKIP_OCL_UNIT_TESTS)
2527
add_custom_command(
2628
TARGET run_${product}_${revision_id}_unit_tests
2729
POST_BUILD

0 commit comments

Comments
 (0)