Respect global option APPVERIFIER_ALLOWED in ult targets

Change-Id: Ifb8044c97ec98d85cbeb132637bd6f6592b01372
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe 2020-03-04 10:08:40 +01:00 committed by sys_ocldev
parent 2cb0face57
commit 3241eea8fc
5 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ add_custom_command(
)
add_dependencies(run_unit_tests run_${product}_unit_tests)
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug" AND "${IGDRCL_OPTION__BITS}" STREQUAL "64" AND DEFINED appverified_allowed)
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug" AND "${IGDRCL_OPTION__BITS}" STREQUAL "64" AND appverified_allowed)
add_custom_command(
TARGET run_${product}_unit_tests
POST_BUILD

View File

@ -14,7 +14,7 @@ if(TESTS_ICLLP)
)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen11_icllp})
add_subdirectories()
set(appverified_allowed TRUE)
set(appverified_allowed ${APPVERIFIER_ALLOWED})
set(unit_test_config "icllp/1/8/8")
include(${OPENCL_UNIT_TEST_DIR}/cmake/run_ult_target.cmake)
endif()

View File

@ -13,7 +13,7 @@ if(TESTS_TGLLP)
)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen12lp_tgllp})
add_subdirectories()
set(appverified_allowed TRUE)
set(appverified_allowed ${APPVERIFIER_ALLOWED})
set(unit_test_config "tgllp/1/6/16")
include(${OPENCL_UNIT_TEST_DIR}/cmake/run_ult_target.cmake)
endif()

View File

@ -13,7 +13,7 @@ if(TESTS_BDW)
)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen8_bdw})
add_subdirectories()
set(appverified_allowed TRUE)
set(appverified_allowed ${APPVERIFIER_ALLOWED})
set(unit_test_config "bdw/1/3/8")
include(${OPENCL_UNIT_TEST_DIR}/cmake/run_ult_target.cmake)
endif()

View File

@ -18,7 +18,7 @@ if(TESTS_SKL)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_gen9_skl})
add_subdirectories()
set(appverified_allowed TRUE)
set(appverified_allowed ${APPVERIFIER_ALLOWED})
set(unit_test_config "skl/1/3/8")
include(${OPENCL_UNIT_TEST_DIR}/cmake/run_ult_target.cmake)
endif()