summaryrefslogtreecommitdiff
path: root/unit/rilmodem-test-engine.c
Commit message (Collapse)AuthorAgeFilesLines
* treewide: Remove superfluous use of _GNU_SOURCEJonas Bonn2018-10-171-1/+0
| | | | | | There are a large number of files in the tree that define _GNU_SOURCE despite not actually using features hidden behind this flag. This patch removes all these definitions in one fell swoop...
* unit: rilmodem-test - add missing string.hLukasz Nowak2017-03-281-0/+1
| | | | Remove warnings of undeclared memcpy, strncpy, etc.
* unit: add rilmodem test engineAlfonso Sánchez-Beato2016-10-251-0/+280
Add rilmodem test engine. This engine is an improvement on the rilmodem test server that allows us to test generic interactions with the rilmodem driver. Instead of just be able to check content of received/ sent bytes on the rild socket, we can now specify a set of steps for a test that include interactions with the atom. The step types are - TST_ACTION_SEND: The harness sends a parcel - TST_ACTION_CALL: The harness calls a driver function - TST_EVENT_RECEIVE: The driver sends a parcel - TST_EVENT_CALL: The driver calls a harness (atom) function