From eb234bbf91dbbcdac5be5fb0bf7f599b7bb7c76f Mon Sep 17 00:00:00 2001 From: tt4g Date: Fri, 7 Feb 2020 22:20:54 +0900 Subject: [PATCH] Don't run spdlog-utests and spdlog-utests-ho in parallel spdlog-utests and spdlog-utests-ho use the same log output directory, so some tests will randomly fail when run in parallel. --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3184e9b6..904b4561 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -47,6 +47,7 @@ function(spdlog_prepare_test test_target spdlog_lib) spdlog_enable_sanitizer(${test_target}) endif() add_test(NAME ${test_target} COMMAND ${test_target}) + set_tests_properties(${test_target} PROPERTIES RUN_SERIAL ON) endfunction() # The compiled library tests