Update package version to 1.15.3
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
From b77a2cab5b1e6710ec55e6a4484f43278fc0036b Mon Sep 17 00:00:00 2001
|
||||
From: Vitaly <[email protected]>
|
||||
Date: Wed, 30 Jul 2025 11:59:03 +0200
|
||||
Subject: [PATCH] Run tests in the order they are declared in the source file.
|
||||
|
||||
Fixes an issue with running tests in random order in Catch2 3.9.0+.
|
||||
---
|
||||
tests/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
||||
index 457504c313..5ba2a106a7 100644
|
||||
--- a/tests/CMakeLists.txt
|
||||
+++ b/tests/CMakeLists.txt
|
||||
@@ -75,7 +75,7 @@ function(spdlog_prepare_test test_target spdlog_lib)
|
||||
elseif(SPDLOG_SANITIZE_THREAD)
|
||||
spdlog_enable_thread_sanitizer(${test_target})
|
||||
endif()
|
||||
- add_test(NAME ${test_target} COMMAND ${test_target})
|
||||
+ add_test(NAME ${test_target} COMMAND ${test_target} --order decl)
|
||||
set_tests_properties(${test_target} PROPERTIES RUN_SERIAL ON)
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user