#3963 assigned enhancement

Add build specification item verification

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 7.1
Component: build Version: 6
Severity: normal Keywords: qualification
Cc: Blocked By:
Blocking:

Description

The new build system uses build specification items to define what is built and how it is built. Add a ./waf --rtems-verify-spec option to verify that the build specification items are sane. For example, check that there are no cycles in the graph, all required attributes are present, the attribute values have the proper type, no additional attributes are present, all UIDs are resolvable, etc.

Change History (3)

comment:1 Changed on 05/28/20 at 11:03:17 by Sebastian Huber

The basic functionality for a verification of build items is implemented in the RTEMS Qualification Tools repository:

https://git.rtems.org/sebh/rtems-qual.git/tree/specverify.py

To make use of it, one option would be to install the RTEMS Qualification Tools Python modules under ${prefix}/share/rtems parallel to the rtemstoolkit modules. Only if the wscript should do the verification, then the module is loaded.

Missing features are:

  • verify that the directed graph of specification items has no cycles (depending on the link role)
  • specify and verify required links, roles, and target types for item types
  • detect isolated items
  • add warning conditions
  • improve the output of failed assertions
Last edited on 05/28/20 at 11:03:41 by Sebastian Huber (previous) (diff)

comment:2 Changed on 06/18/21 at 09:24:45 by Sebastian Huber

Keywords: qualification added

comment:3 Changed on 09/08/22 at 07:37:09 by Sebastian Huber

Milestone: 6.17.1
Note: See TracTickets for help on using tickets.