mirror of https://github.com/ARMmbed/mbed-os.git
mbed test with dual core targets
For Dual Core targets, there are in fact 2 sub-targets, CM4 and CM7 targets. This allows to execute tests with boards detected by mbedls.pull/12630/head
parent
5d64e55880
commit
6c57c9fd67
|
@ -2276,6 +2276,9 @@ def test_spec_from_test_builds(test_builds):
|
|||
|
||||
if test_builds[build]['platform'].endswith('_NPSA'):
|
||||
test_builds[build]['platform'] = test_builds[build]['platform'][:-5]
|
||||
# Convert Dual Core target name to test spec platform name
|
||||
if test_builds[build]['platform'].endswith('_CM4') or test_builds[build]['platform'].endswith('_CM7'):
|
||||
test_builds[build]['platform'] = test_builds[build]['platform'][:-4]
|
||||
return {
|
||||
"builds": test_builds
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue