mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
build: disable aub tests compilation by default
aub tests compilation can be enabled with cmake flag NEO_SKIP_AUB_TESTS=0 aub tests execution can be enabled with cmake flag NEO_SKIP_AUB_TEST_RUN=0 enabled aub tests execution forces compilation of aub tests targets Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c3546f9e62
commit
6095efa7d3
@@ -256,10 +256,21 @@ if(NEO_SKIP_UNIT_TESTS)
|
||||
set(NEO_SKIP_L0_BLACK_BOX_TESTS TRUE)
|
||||
endif()
|
||||
|
||||
if(DEFINED DO_NOT_RUN_AUB_TESTS)
|
||||
set(NEO_SKIP_AUB_TEST_RUN ${DO_NOT_RUN_AUB_TESTS})
|
||||
if(NOT DEFINED NEO_SKIP_AUB_TESTS_RUN)
|
||||
set(NEO_SKIP_AUB_TESTS_RUN TRUE)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED NEO_SKIP_AUB_TESTS)
|
||||
set(NEO_SKIP_AUB_TESTS TRUE)
|
||||
endif()
|
||||
|
||||
if(NOT NEO_SKIP_AUB_TESTS_RUN)
|
||||
set(NEO_SKIP_AUB_TESTS FALSE)
|
||||
endif()
|
||||
|
||||
message(STATUS "NEO_SKIP_AUB_TESTS: ${NEO_SKIP_AUB_TESTS}")
|
||||
message(STATUS "NEO_SKIP_AUB_TESTS_RUN: ${NEO_SKIP_AUB_TESTS_RUN}")
|
||||
|
||||
# Set our build directory
|
||||
if(NOT DEFINED NEO_BUILD_DIR)
|
||||
set(NEO_BUILD_DIR ${CMAKE_BINARY_DIR})
|
||||
|
||||
Reference in New Issue
Block a user