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

Fix EFR32 Unit Test build #10448

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

rgoliver
Copy link

Problem

EFR32 Unit test fails to compile

Change overview

  • Replace calls to usleep with the platform abstractions in chip::test_utils
  • Remove the new TestCommands.cpp test which fails to compile on efr32:
/home/rgoliver/repo/connectedhomeip/src/test_driver/efr32/out/debug/../../third_party/connectedhomeip/zzz_generated/controller-clusters/zap-generated/IMClusterCommandHandler.cpp:5258: multiple definition of `chip::app::DispatchSingleClusterCommand(chip::app::ConcreteCommandPath const&, chip::TLV::TLVReader&, chip::app::CommandHandler*)'; obj/third_party/connectedhomeip/src/controller/tests/data_model/libInteractionTests.TestCommands.cpp.o:/home/rgoliver/repo/connectedhomeip/src/test_driver/efr32/out/debug/../../third_party/connectedhomeip/src/controller/tests/data_model/TestCommands.cpp:69: first defined here

Testing

Verified efr32 unit test builds, it still has a hardfault when running which can be addressed in another PR: #10447

@jepenven-silabs jepenven-silabs merged commit 247d904 into project-chip:master Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants