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.
Summary
test/host/main/test_main.cdeclares and runs tests for fragmentation, pairing, and SCO buffer behavior, buttest/host/main/CMakeLists.txtonly 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-88test/host/main/CMakeLists.txt:3-15test_bt_hfp_buffer.c,test_fragmentation.c,test_pairing.c,espnow_frag.c,pairing.cExpected
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.txtandtest/host/main/CMakeLists.txt. They appear to have drifted.