Skip to main content

cdlArtefacts object

note

Work in progress.

Purpose

Define an array of artefact objects.

Syntax

{
"cdlArtefacts": [
{
"name": "<artefact name>",
"display": "<short name>",
"description": "<long text>",

... artefact members ...
},
...
]
}

Description

TODO

Containers

TODO

Properties

  • TODO

Example

{
"cdlArtefacts": [
{
"name": "sample.binary",
"display": "Sample Test Executable",
"description": "The executable generated by the sample test",
"type": "executable",
"fileName": "sample-test{{ executableSuffix }}",
"dependencies": [
"tests.sample",
"micro-os-plus.platforms.native"
],
"cdlArtefacts": [
{
"name": "size",
"display": "Sample Test Size",
"description": "Show the size of the sample test executable",
"type": "command",
"command": "size sample-test.elf",
"dependencies": [
"tests.sample.binary"
],
"defaultEnabled": "isEnabled('tests.common.report-size')"
},
{
"name": "listing",
"display": "Sample Test Listing",
"description": "Show the disassembly listing of the sample test executable",
"type": "command",
"command": "arm-none-eabi-objdump --source --all-headers --demangle --line-numbers --wide sample-test.elf > sample-test-list.txt",
"dependencies": [
"tests.sample.binary"
],
"defaultEnabled": "isEnabled('tests.common.create-listing')"
}
]
},
{
"name": "unit.binary",
"display": "Unit Test Executable",
"description": "The executable generated by the unit test",
"type": "executable",
"fileName": "unit-test{{ executableSuffix }}",
"dependencies": [
"tests.unit",
"micro-os-plus.platforms.native"
]
}
]
}

See also

eCos reference

  • none