• Bug#1103002: uqm: too-short timeout in test

    From Michael Stone@21:1/5 to All on Sun Apr 13 18:40:01 2025
    Package: uqm
    Version: 0.8.0+dfsg-3
    Severity: normal
    Tags: patch

    savegames test sets a "safety timeout" of 60s. Unfortunately, that may not be enough time for the test to complete on a slower platform, causing artificial autopkgtest failures. Patch below changes the timeout to 300s, with a final kill at 360s.

    --- debian/tests/savegames 2025-04-13 16:24:09.667135552 +0000
    +++ debian/tests/savegames 2025-04-13 16:30:01.147119241 +0000
    @@ -13,7 +13,7 @@

    # run game in virtual X11 server, with safety timeout
    X_LOG="${AUTOPKGTEST_ARTIFACTS}/x_savegames.log"
    -timeout -k100 -v 60 xvfb-run --auto-servernum --error-file="${X_LOG}" --server-args='-screen 0 640x480x24' ${TESTS_DIR}/savegames_x
    +timeout -k360 -v 300 xvfb-run --auto-servernum --error-file="${X_LOG}" --server-args='-screen 0 640x480x24' ${TESTS_DIR}/savegames_x

    if [ -s "${X_LOG}" ]
    then

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)