Skip to content

Commit d0917b0

Browse files
authored
Merge pull request #12630 from jeromecoutant/PR_TEST_DUALCORE
mbed test with dual core targets
2 parents 0a6e586 + 6c57c9f commit d0917b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/test_api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,6 +2276,9 @@ def test_spec_from_test_builds(test_builds):
22762276

22772277
if test_builds[build]['platform'].endswith('_NPSA'):
22782278
test_builds[build]['platform'] = test_builds[build]['platform'][:-5]
2279+
# Convert Dual Core target name to test spec platform name
2280+
if test_builds[build]['platform'].endswith('_CM4') or test_builds[build]['platform'].endswith('_CM7'):
2281+
test_builds[build]['platform'] = test_builds[build]['platform'][:-4]
22792282
return {
22802283
"builds": test_builds
22812284
}

0 commit comments

Comments
 (0)