[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Before releasing Gambas 3.21.4 - Timers test failure


Le 10/03/2026 à 08:55, Christof Thalhofer a écrit :
Am 09.03.26 um 12:01 schrieb Christof Thalhofer:

I found one failure:

In Gambas3 Selftest

# Ausgeführt: 'Timers.Timers'
#
# 1 tests failed:
# 5: Timers.Timers.61 -- LRT 5
#
# FAILED

It happens on my virtual machine. I think this test is bogus there. From time to time, other tests fail, sometimes it passes. Here another output:

Test Timers.Timers
   1..6
   ok 1 - Timers.Timers.22: LRT 1
   ok 2 - Timers.Timers.23: LRT 2
   ok 3 - Timers.Timers.43: LRT 3
   ok 4 - Timers.Timers.44: LRT 4
   ok 5 - Timers.Timers.61: LRT 5
   ok 6 - Timers.Timers.62: LRT 6
ok 1 - Timers.Timers

# Ausgeführt: 'Timers.Timers'
#
# PASSED

So it seems nothing to worry about.

Alles Gute

Christof Thalhofer


Indeed. I don't know what these tests are supposed to check. Especially the Timer test #5, which fails if the 'Sleep' instruction does now wait the specified time.

This is stupid, as by definition, sleeping can be interrupted, and so may not wait at all, and the duration of the sleep may be rounded up, depending how the system behaves.

I think this test should be removed.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: Before releasing Gambas 3.21.4 - Timers test failureJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
References:
Before releasing Gambas 3.21.4Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - IDE http freezeChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - IDE http freezeBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - IDE http freezeChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Before releasing Gambas 3.21.4 - Timers test failureChristof Thalhofer <chrisml@xxxxxxxxxxx>