sdl3: increase test timeout for testrwlock

(cherry picked from commit 07bc340747)
(cherry picked from commit 5787be340983685f7490e1b46bdca5896ae1746d)
This commit is contained in:
winston
2026-06-22 08:19:28 +02:00
committed by Vladimír Čunát
parent 1b76c29160
commit 68be3d0beb
+8 -1
View File
@@ -87,10 +87,17 @@ stdenv.mkDerivation (finalAttrs: {
};
postPatch =
# Tests timeout on Darwin
lib.optionalString (finalAttrs.finalPackage.doCheck) ''
# Tests timeout on Darwin
substituteInPlace test/CMakeLists.txt \
--replace-fail 'set(noninteractive_timeout 10)' 'set(noninteractive_timeout 30)'
# intermittent test failure
# https://github.com/libsdl-org/SDL/issues/15346
substituteInPlace test/CMakeLists.txt \
--replace-fail \
'add_sdl_test_executable(testrwlock SOURCES testrwlock.c NONINTERACTIVE NONINTERACTIVE_TIMEOUT 20)' \
'add_sdl_test_executable(testrwlock SOURCES testrwlock.c NONINTERACTIVE NONINTERACTIVE_TIMEOUT 300)'
''
+ lib.optionalString waylandSupport ''
substituteInPlace src/dialog/unix/SDL_zenitymessagebox.c \