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
jeromecoutant 2020-03-16 14:36:09 +01:00
parent 5d64e55880
commit 6c57c9fd67
1 changed files with 3 additions and 0 deletions

View File

@ -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
}