diff options
| author | quartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com> | 2026-11-26 08:28:59 +0800 |
|---|---|---|
| committer | quartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com> | 2026-11-26 08:28:59 +0800 |
| commit | 9ea22eaf446b50f03d600bc2f5f1e6c4afb09788 (patch) | |
| tree | 5a97e9c355087d9749ccbe20e4439b7dd73b8a5c /runtime/src/main.cpp | |
| parent | 61732aca16fb0d63deb5e9987f9758d4e6ce0228 (diff) | |
gameinput test: read the pad before expecting a scripted press to end (TEST-GAMEINPUT-SCRIPT-READS)
Since #2098 a scripted press lasts its 300 ms and then until the title has made
six GetCurrentReading calls since it began. gameinput_test --input-script still
expected the press to be over after 350 ms and three reads, so ctest
gameinput_script failed on main in every build with SDL3 (it is disabled
without SDL3, so CI did not show it).
The test now checks that the press is still held at that point, reads the pad
six more times and then expects the release. Test only.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions