fix dependencies for elflib and tbx unit tests

these tests should be executed after unit_tests target is complete to
ensure everything is ready in environment and to avoid sporadic failures

Change-Id: Ib9f9fdb9f4135441d17761c8dbee0868f1be404b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2018-04-12 11:31:16 +02:00
committed by sys_ocldev
parent e43c345e07
commit 97fb72a9a4
3 changed files with 4 additions and 4 deletions

4
Jenkinsfile vendored
View File

@ -1,5 +1,5 @@
#!groovy
neoDependenciesRev='755799-928'
strategy='EQUAL'
allowedF=3
allowedCD=309
allowedF=1
allowedCD=301

View File

@ -42,7 +42,7 @@ if(UNIX)
target_link_libraries(elflib_tests ${IGDRCL_EXTRA_LIBS})
endif()
add_custom_target(run_elflib_tests ALL DEPENDS elflib_tests)
add_custom_target(run_elflib_tests ALL DEPENDS unit_tests elflib_tests)
add_custom_command(
TARGET run_elflib_tests
POST_BUILD

View File

@ -46,7 +46,7 @@ target_include_directories(igdrcl_tbx_tests PRIVATE
create_project_source_tree(igdrcl_tbx_tests ${IGDRCL_SOURCE_DIR}/runtime ${IGDRCL_SOURCE_DIR}/unit_tests)
add_custom_target(run_tbx_tests ALL DEPENDS igdrcl_tbx_tests)
add_custom_target(run_tbx_tests ALL DEPENDS unit_tests igdrcl_tbx_tests)
add_custom_command(
TARGET run_tbx_tests
POST_BUILD