Skip to content

Serial stub tests and other updates#148

Draft
sgunes-wirepas wants to merge 4 commits intomasterfrom
feature/serial_stub_updated
Draft

Serial stub tests and other updates#148
sgunes-wirepas wants to merge 4 commits intomasterfrom
feature/serial_stub_updated

Conversation

@sgunes-wirepas
Copy link
Contributor

No description provided.

This makes it easier to run the test executable from different paths.
These can be used to enable coverage or sanitizers for the tested code.
Some example unit tests using gmock, as well as fuzzing test examples
using fuzztest for uplink data indications.
If WPC_close is called right after WPC_initialize (for example in the
case of stubbed tests), polling thread was sometimes getting stuck. This
is because Platform_close() would update the
m_polling_thread_state_request with POLLING_THREAD_STOP_REQUESTED before
the fresh polling thread would "initialize" the state with
POLLING_THREAD_RUN in poll_for_indication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant