Skip to content
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

Enable unit tests on ERF32 for /src/credentials/tests and /src/lib/support/tests #35624

Open
feasel0 opened this issue Sep 17, 2024 · 0 comments

Comments

@feasel0
Copy link
Contributor

feasel0 commented Sep 17, 2024

Test issue(s)

The unit tests in /src/credentials/tests and /src/lib/support/tests are disabled when building for EFR32. They could be enabled if _open were implemented. Here is the error that occurs currently when attempting to build one of these tests.

[3452/4220] ld tests/matter-silabs-device_tests-TestBufferReader.out
FAILED: tests/matter-silabs-device_tests-TestBufferReader.out
arm-none-eabi-g++ -T/workspaces/connectedhomeip/src/test_driver/efr32/third_party/connectedhomeip/examples/platform/silabs/ldscripts/efr32mg24.ld -Wl,--no-warn-rwx-segment -march=armv8-m.main+dsp -mcpu=cortex-m33 -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -Os --specs=nosys.specs --specs=nano.specs -Werror -Wl,--fatal-warnings -fdiagnostics-color -Wl,--gc-sections @tests/matter-silabs-device_tests-TestBufferReader.out.rsp -o tests/matter-silabs-device_tests-TestBufferReader.out
/home/vscode/pigweed/env/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/vscode/pigweed/env/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v8-m.main+fp/hard/libc_nano.a(libc_a-openr.o): in function '_open_r':
openr.c:(.text._open_r+0x10): warning: _open is not implemented and will always fail
collect2: error: ld returned 1 exit status

Platform

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants