Skip to content

unit: STE Unit Tests

Sjur Brændeland ofono 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2unit: CAIF test: remove character dev tests and add RTNL.Makefile.am unit/test-caif.c+77 -350 replies
2/2unit: Add unit tests for STE modemMakefile.am unit/test-ste.c+568 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] unit: STE Unit Tests

From: Sjur Brændeland <[email protected]>

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