RTEMS Tools | tester: Fix timeout hangs with hardware testing (!88)

Chris Johns (@chris) gitlab at rtems.org
Fri Jun 5 02:27:12 UTC 2026




Chris Johns commented on a discussion on tester/rt/report.py: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/88#note_151961

 >          timeout = False
 >          test_too_long = False
 >          prefixed_output = []
 > +        self.lock.acquire()
 > +        try:
 >              for line in output:

Yes that specific block can be excluded as it was from the locked area but I decided to hold the lock and be defensive in this area of the code so any future changes and any updates are not made without the lock being held. I remember coding it being excluded to make performance sensitive but in fact I doubt it matters.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/88#note_151961
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260605/d7150ccf/attachment.htm>


More information about the bugs mailing list