File: 0008-test-skip-RingBuffer-Threaded-Test.patch

package info (click to toggle)
yuzu 0-1734%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,272 kB
  • sloc: cpp: 429,261; ansic: 38,370; python: 732; pascal: 179; asm: 137; xml: 86; makefile: 48; sh: 29
file content (26 lines) | stat: -rw-r--r-- 978 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Andrea Pappacoda <tachi@debian.org>
Date: Sat, 20 Sep 2025 00:46:52 +0200
Subject: test: skip ~RingBuffer: Threaded Test

Broken with catch2 versions without thread safe assertions, added in
catch2 3.9.0:
https://github.com/catchorg/Catch2/commit/2a8a8a7210513fc2f6ae5e65986c0f2d730c1537

Forwarded: no
---
 src/tests/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 1e158f3..384d394 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -24,7 +24,7 @@ create_target_directory_groups(tests)
 target_link_libraries(tests PRIVATE common core input_common)
 target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2WithMain Threads::Threads)
 
-add_test(NAME tests COMMAND tests)
+add_test(NAME tests COMMAND tests "~RingBuffer: Threaded Test")
 
 if (YUZU_USE_PRECOMPILED_HEADERS)
     target_precompile_headers(tests PRIVATE precompiled_headers.h)