Closed
Description
cli version 0.7.13
mbed sha https://github.com/ARMmbed/mbed-os/#15b80ad7e9d069ba92cdeb0493015404bcd9ba31
To reproduce:
> mbed new myprog
> cd myprog
# edit mbed_app.json and add the following content:
{
"custom_targets": {
"K64F_SECURE": {
"inherits": ["K64F"],
"extra_labels_add":["K64F", "UVISOR_SUPPORTED"],
"features_add": ["UVISOR"]
}
}
}
> mbed compile -t GCC_ARM -m K64F_SECURE
# this works
> mbed compile -t GCC_ARM -m K64F_SECURE --tests
# Fails
Traceback (most recent call last):
File "/tmp/myprog/mbed-os/core/tools/test.py", line 135, in <module>
target = TARGET_MAP[options.mcu]
KeyError: 'K64F_SECURE'
[ERROR] 'K64F_SECURE'
[mbed ERROR] "python" returned error code 1.
[mbed ERROR] Command "python -u /tmp/myprog/mbed-os/core/tools/test.py -t GCC_ARM -m K64F_SECURE --source /tmp/myprog --build /tmp/myprog/.build/tests/K64F_SECURE/GCC_ARM --test-spec /tmp/myprog/.build/tests/K64F_SECURE/GCC_ARM/test_spec.json" in "/tmp/myprog"
---
> mbed compile -t GCC_ARM -m K64F_SECURE --tests --config mbed_app.json
> mbed test --compile -t GCC_ARM -m K64F_SECURE
> mbed test --compile -t GCC_ARM -m K64F_SECURE --config mbed_app.json
# All of the above fails.
Metadata
Metadata
Assignees
Labels
No labels