Skip to content

Commit 97fb72a

Browse files
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>
1 parent e43c345 commit 97fb72a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!groovy
22
neoDependenciesRev='755799-928'
33
strategy='EQUAL'
4-
allowedF=3
5-
allowedCD=309
4+
allowedF=1
5+
allowedCD=301

unit_tests/elflib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if(UNIX)
4242
target_link_libraries(elflib_tests ${IGDRCL_EXTRA_LIBS})
4343
endif()
4444

45-
add_custom_target(run_elflib_tests ALL DEPENDS elflib_tests)
45+
add_custom_target(run_elflib_tests ALL DEPENDS unit_tests elflib_tests)
4646
add_custom_command(
4747
TARGET run_elflib_tests
4848
POST_BUILD

unit_tests/tbx/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ target_include_directories(igdrcl_tbx_tests PRIVATE
4646

4747
create_project_source_tree(igdrcl_tbx_tests ${IGDRCL_SOURCE_DIR}/runtime ${IGDRCL_SOURCE_DIR}/unit_tests)
4848

49-
add_custom_target(run_tbx_tests ALL DEPENDS igdrcl_tbx_tests)
49+
add_custom_target(run_tbx_tests ALL DEPENDS unit_tests igdrcl_tbx_tests)
5050
add_custom_command(
5151
TARGET run_tbx_tests
5252
POST_BUILD

0 commit comments

Comments
 (0)