From 3ee903ccdfddab3e3d3ce3284fbc1667d47a3833 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Sun, 5 Jan 2025 00:40:45 +0500 Subject: [PATCH] Do not run oneTBB tests in parallel Signed-off-by: Vladislav Shchapov --- test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0ab4d7e8c8..92d233f17f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2020-2024 Intel Corporation +# Copyright (c) 2020-2025 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -66,6 +66,7 @@ function(tbb_add_test) endif() set_property(TEST ${_tbb_test_TARGET_NAME} PROPERTY ENVIRONMENT ${TBB_TESTS_ENVIRONMENT} APPEND) + set_property(TEST ${_tbb_test_TARGET_NAME} PROPERTY RUN_SERIAL TRUE) # Prefer using target_link_options instead of target_link_libraries to specify link options because # target_link_libraries may incorrectly handle some options (on Windows, for example). @@ -111,6 +112,7 @@ function(tbb_add_c_test) endif() set_property(TEST ${_tbb_test_NAME} PROPERTY ENVIRONMENT ${TBB_TESTS_ENVIRONMENT} APPEND) + set_property(TEST ${_tbb_test_NAME} PROPERTY RUN_SERIAL TRUE) target_compile_definitions(${_tbb_test_NAME} PRIVATE $<$:TBB_USE_DEBUG>