[PATCH 1/3] unit: Add a unit test suite

Chris Johns chrisj at rtems.org
Sun Apr 3 22:28:50 UTC 2022


On 1/4/2022 5:23 pm, Sebastian Huber wrote:
> On 01/04/2022 01:46, Chris Johns wrote:
>> On 30/3/2022 6:13 pm, Sebastian Huber wrote:
>>> +
>>> +#include "../validation/ts-default.h"
>>> +
>> What is the relationship between this "unit testsuite" and the validation tests?
> 
> Each validation test suite is linked to one or more requirements. The unit tests
> are not linked to requirements. The combination of both yields 100% line and
> branch coverage at source code level (-O0 + gcov) for the RTEMS feature set
> specified in rtems-central.

Thanks.

> In testsuites/validation is some support code for the test suites and test
> cases. This code could also move to cpukit or some other place.

Great and that is what I was wondering. The include as it is implies a
dependency. I think it would be good to move this but it is not a reason to
block these changes now.

Chris


More information about the devel mailing list