test suite priority issue Topic is solved

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

test suite priority issue  Topic is solved

Postby Thargon » Mon Oct 30, 2017 1:30 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: test suite priority issue

Postby Giovanni » Tue Oct 31, 2017 2:34 pm

Hi,

Moving in bug reports.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 24 guests