Merge pull request #12630 from jeromecoutant/PR_TEST_DUALCORE

mbed test with dual core targets
pull/12728/head
Martin Kojtal 2020-03-31 09:29:37 +02:00 committed by GitHub
commit d0917b0ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}