Test suite can set invalid test thread level

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Test suite can set invalid test thread level

Postby FXCoder » Wed Dec 05, 2018 3:35 am

Test suite (e.g. rt_test_003_002_execute()) sets the priority of test threads using chThdGetPriorityX()-n (where n can be 5 in current test code).
If test is executed from a LOWPRIO(2) thread (such as shell set to LOWPRIO) then an invalid thread priority is calculated in test.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Test suite can set invalid test thread level

Postby Giovanni » Sun Nov 10, 2019 10:34 am

Yes, it is a problem but I will leave it this way for now, the test suite is not production code and is run under known conditions.

Giovanni


Last bumped by Giovanni on Sun Nov 10, 2019 10:34 am.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 13 guests