-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mbed] Unit tests improvements #11589
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pullapprove
bot
requested review from
andy31415,
anush-apple,
austinh0,
balducci-apple,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chulspro,
Damian-Nordic,
electrocucaracha,
erjiaqing,
franck-apple,
harimau-qirex,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kghost,
LuDuda,
lzgrablic02,
msandstedt,
mspang,
pan-apple,
robszewczyk,
sagar-apple,
saurabhst,
selissia and
tecimovic
November 9, 2021 15:39
pullapprove
bot
requested review from
turon,
vivien-apple,
wbschiller,
woody-apple and
yufengwangca
November 9, 2021 15:39
PR #11589: Size comparison from 613f27f to d5d4a52 Increases (4 builds for esp32, mbed)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
andy31415
requested changes
Nov 9, 2021
woody-apple
approved these changes
Nov 9, 2021
Fast tracking, as this is a platform maintainer making platform changes. |
ATmobica
force-pushed
the
mbed-fix-unit-tests
branch
from
November 10, 2021 08:14
d5d4a52
to
a5ec7e6
Compare
PR #11589: Size comparison from 30e1b97 to a5ec7e6 Increases (4 builds for esp32, mbed)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
Fix ReadConfigValueBin function for Mbed platform - check buffer size
ATmobica
force-pushed
the
mbed-fix-unit-tests
branch
from
November 15, 2021 08:59
a5ec7e6
to
def57ed
Compare
PR #11589: Size comparison from 5623978 to def57ed Increases (3 builds for mbed)
Full report (36 builds for efr32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
andy31415
approved these changes
Nov 15, 2021
PSONALl
pushed a commit
to PSONALl/connectedhomeip
that referenced
this pull request
Dec 3, 2021
* Reduce unit test coverage for mbed - remove dnssd testing * Fix TestConfigurationMgr_GetPrimaryMACAddress for Mbed platform * Add TestKeyValueStoreMgr for Mbed platform Fix ReadConfigValueBin function for Mbed platform - check buffer size * Move CloseIOCTLSocket() function to the right place * Fix InetEndPoint test - skip InterfaceNameToId checking for Mbed * Fix condtion in TestKeyValueStoreMgr * Changes restyle * Add note to skip tests for Mbed platform
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Mbed unit tests implementation needs improvement. Not all tests passed. We verified and fix all issues.
Change overview
Reduce Mbed unit test coverage (due to flash memory size limitations) - remove dnssd testing.
Fix TestConfigurationMgr_GetPrimaryMACAddress for Mbed platform - skip comparing with default address - Mbed implementation always return MAC address.
Add TestKeyValueStoreMgr for Mbed platform
Fix ReadConfigValueBin function for Mbed platform - check buffer size
Fix InetInterface.cpp - move CloseIOCTLSocket() function to the right place
Fix InetEndPoint test - skip InterfaceNameToId checking for Mbed
Testing
Build and run Mbed unit test on the device. The result should be
CHIP test status: 0
, which means all tests passed.