Skip to content

Host test component CMakeLists is out of sync with declared tests #18

Description

@airadier

Summary

test/host/main/test_main.c declares and runs tests for fragmentation, pairing, and SCO buffer behavior, but test/host/main/CMakeLists.txt only compiles a subset of the test sources and production files.

Impact

The ESP-IDF host-test component configuration is out of sync with the test entrypoint, which can cause build failures or silently reduce effective coverage depending on which host test flow is used.

Evidence

  • test/host/main/test_main.c:28-88
  • test/host/main/CMakeLists.txt:3-15
  • Missing there: test_bt_hfp_buffer.c, test_fragmentation.c, test_pairing.c, espnow_frag.c, pairing.c

Expected

The host test component should compile the same tests and support sources that the test entrypoint expects, or the duplicate host test flow should be removed to avoid divergence.

Notes

The repo currently has two host-test setups: test/host/CMakeLists.txt and test/host/main/CMakeLists.txt. They appear to have drifted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions