Commit Graph

18 Commits

Author SHA1 Message Date
Sebastian Huber
9f727f9379 validation: Fix handling of N/A pre-conditions
In the action requirements, some pre-conditions are not applicable
depending on the state of other pre-conditions.  There is no particular
order in the pre-conditions, so we have to check the N/A status
individually.
2021-05-07 07:44:07 +02:00
Sebastian Huber
f14cf0cd74 rtems: Check for NULL config in task construct
Since there are already excessive NULL pointer checks in the Classic
API, do this also in rtems_task_construct().

Update #3959.
2021-04-23 08:24:07 +02:00
Sebastian Huber
fa1e7ea054 validation: Reduce source code/rodata size
Use a common wording for the tests.  Use the new templates for action
requirements described in the RTEMS Software Engineering manual.
2021-03-19 16:55:48 +01:00
Sebastian Huber
5babc54d8d validation: Task create/construct
Run the task create/construct tests also on validation test suite 1
which has exactly one processor configured.
2021-03-16 12:47:52 +01:00
Sebastian Huber
586e06ec62 validation: Improve wording 2021-03-11 21:59:52 +01:00
Sebastian Huber
bfd1b6eef3 validation: Use common wording 2021-03-11 07:58:19 +01:00
Sebastian Huber
e76470dfa7 validation: Use common wording 2021-03-08 11:04:55 +01:00
Sebastian Huber
1ce127e9df validation: Use common wording 2021-03-05 21:19:54 +01:00
Sebastian Huber
c0c4b8b8b5 validation: Format comment blocks 2021-03-02 07:56:15 +01:00
Sebastian Huber
2ad03ded38 validation: Add comments to task tests 2021-03-01 10:12:26 +01:00
Sebastian Huber
9dad735697 validation: Improve task construct error tests 2021-03-01 07:18:14 +01:00
Sebastian Huber
1ac4a85ebf score: Fix thread initialization
Close the thread object if a thread create extension fails.  Also call
the delete extension to avoid resource leaks in early extensions if a
late extension fails.

Close #4270.
2021-02-26 09:23:02 +01:00
Sebastian Huber
fafc923044 validation: Tweak construct error tests
Unify the state names across tests and make sure the state names have a
similar length.
2021-02-08 08:44:14 +01:00
Sebastian Huber
a6689fb147 Improve file header comment in generated files 2021-01-25 06:49:27 +01:00
Sebastian Huber
ced1302208 Improve automatically generated warning 2020-11-12 08:54:59 +01:00
Sebastian Huber
69a35fb925 validation: Improve file header comment 2020-10-08 13:43:39 +02:00
Sebastian Huber
71689a0775 rtems: Canonicalize name and id checks
Check the name followed by the id check in all create directives.

Compare pointers against NULL.  Fix formatting.
2020-10-01 18:05:58 +02:00
Sebastian Huber
3dd4cbb50d validation: rtems_task_construct() errors
This is the first test case generated from a specification item in the
rtems-central repository.

Update #3959.
2020-09-17 17:42:25 +02:00