From 44d0c401d5392a2f73b4cf2edce39fd77aadd66d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 28 Sep 2026 10:26:42 -0600 Subject: [PATCH] test.py: Give Debug builds three times the wall-clock timeout gpu/clut/offset and gpu/commands/material take over 1s each in a Debug build, and every so often pushed past the 5s limit mid-run, which reads as a failure with truncated output. Co-Authored-By: Claude Opus 5.5 (1M context) --- test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test.py b/test.py index 48ea9fa217..ffd5dafbf7 100755 --- a/test.py +++ b/test.py @@ -50,6 +50,8 @@ CPU_TIMEOUTS = { 'jit-ir': 5, } +DEBUG_TIMEOUT_SCALE = 3 + class Command(object): def __init__(self, cmd, data = None): self.cmd = cmd @@ -667,6 +669,9 @@ def run_tests(test_list, args): global PPSSPP_EXE, TIMEOUT returncode = 0 timeout = CPU_TIMEOUTS.get(cpu_backend(args), TIMEOUT) + # Debug builds are several times slower, enough for the heavier tests to brush the limit. + if 'Debug' in os.path.normpath(PPSSPP_EXE).split(os.sep): + timeout *= DEBUG_TIMEOUT_SCALE test_filenames = [] for test in test_list: