From: Sjur Brændeland <sjur.brandel...@stericsson.com> This patch set introduces unit tests for functionality in o CAIF RTNL functions in drivers/stemodem/caif_rtnl.c o GPRS context handling in drivers/stemodem/gprs-context.c o Radio State settings in drivers/stemodem/radio-settings.c o Test for CAIF Character devices are removed as this is not supported by upstream version of CAIF.
The unit tests calls functions in the driver and simulates AT-responses received from the modem. Patches should apply and compile cleanly. Successful execution depends on patches: stemodem: Create network interfaces statically stemodem: Use RTNL to create network interfaces. Sjur Brændeland (2): unit: CAIF test: remove character dev tests and add RTNL. unit: Add unit tests for STE modem Makefile.am | 19 ++- unit/test-caif.c | 108 +++++++---- unit/test-ste.c | 554 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 645 insertions(+), 36 deletions(-) create mode 100644 unit/test-ste.c _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono