test suite priority issue Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
Thargon
Posts: 135
Joined: Wed Feb 04, 2015 5:03 pm
Has thanked: 15 times
Been thanked: 24 times

test suite priority issue

Post by Thargon »

Hi,

I just encountered a minor issue when calling the ChibiOS test suite (function 'test_execute()' in ch_test.c) from a thread with high priority. Several tests (e.g. test_sequence_002) increase the calling thread priority, which fails if the original priority is already too high. I think this should either be detected beforehand and commented with an according message instead of just failing the test, or the tests should react dynamically (e.g. lower the priority instead of increasing it).

As I said, this is no too bad issue, but it took me a while to understand why the tests failed although the system seemed to work fine ;)

Best regards,
Thomas
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: test suite priority issue

Post by Giovanni »

Hi,

Moving in bug reports.

Giovanni
Post Reply