-
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
Adds platform/tests to the ESP32-QEMU unit-test target #37753
Adds platform/tests to the ESP32-QEMU unit-test target #37753
Conversation
PR #37753: Size comparison from 7eab378 to 5873803 Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #37753: Size comparison from 7eab378 to 5053bd7 Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
@feasel0 should we enable the @andy31415 can we enable this all the time? Or use |
@shubhamdp I enabled the workflow in the initial commit, it passed the CI, and then I disabled it again. |
Thanks @feasel0 |
This PR added an EXPECT statement to check the result of UPDATE: Resolved. The test will expect false if locking is not supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
…37753) * Adds src/platform/tests into esp32-qemu-tests target * CI * Skip TryLockChipStack test on Darwin * Updated to use CHIP_SYSTEM_CONFIG_NO_LOCKING * Comment update * Expect statement checks if lock result matches "no locking" value.
Adds the unit tests
src/platform/tests
into theesp32-qemu-tests
target.Fixes a failure in
TryLockChipStack
due to a missing initialization step (Error log, line 150). This was not detected previously since the FreeRTOS implementation of PlatformMgr had been skipping deleting its data members during shutdown (which has since been fixed: #37489).Fixes a failure in
GetMonotonicMilliseconds
due toSleepMillis
being less precise on esp32-qemu. Error log (line 76)Testing
Automated testing. Used the
ESP32_QEMU
CI check, which now includeslibPlatformTests
. Also manually built theesp32-qemu-tests
target and ran all images.Log after changes (0 failures)