[RTEMS Project] #4670: Add option to build RTEMS with coverage instrumentation
RTEMS trac
trac at rtems.org
Mon Jul 4 06:25:06 UTC 2022
#4670: Add option to build RTEMS with coverage instrumentation
-----------------------------+------------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.1
Component: test | Version: 6
Severity: normal | Resolution:
Keywords: | Blocked By: 4196
Blocking: 4671 |
-----------------------------+------------------------------
Comment (by Sebastian Huber <sebastian.huber@…>):
In [changeset:"0bb7b84698e380b86896a3163371648e88f2af21/rtems"
0bb7b84/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="0bb7b84698e380b86896a3163371648e88f2af21"
build: Improve value substitution
The waf build system uses lists for tool flags. The build items may use
variable substitution. Add the ability to use the variable substitution
in
lists. For example:
MORE_FLAGS = ['-more', '-flags']
flags:
- -some-flag
- ${MORE_FLAGS}
Before this change, the ${MORE_FLAGS} was substituted to "-more -flags".
This
would be passed by waf as a single command line argument to the tool.
After this change, the ${MORE_FLAGS} list extends the flags list:
flags = ['-some-flag', '-more', '-flags']
This list extension is performed if a list element consists of exactly one
variable.
Update #4670.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4670#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list