Skip to content

Framework for non-interactive mesh test

Inga Stotland linux-bluetooth 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v33 patches 3 repliesSuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches1 replySuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mesh: Add unit test IOMakefile.mesh mesh/main.c mesh/mesh-io-unit.c +3 more+582 -173 replies
2/2tools/mesh-cfgtest: Non-iteractive test for meshMakefile.am Makefile.tools mesh/main.c +1 more+1483 -50 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH BlueZ v4 0/2] Framework for non-interactive mesh test

v4: Use tester frameworks from ELL library

**********
v3: Fixed copyright style in mesh-io-unit.h

**********
v2: Fixed errors reported by bluez-bot.
Regarding the warnings for the "__attribute__((packed))":
keeping this style to be consistent with the rest of BLueZ codebase

**********
This patch set introduces a framework for non-interactive testing of mesh daemon functionality and consists of the three components:

1. A version of src/shared/tester that uses ELL primitives:
everything mesh-related uses ELL.

2. New type of mesh IO used only for testing.

3. The mesh-cfgtest tool that excercises a number of mesh D-Bus API calls. Currently, the tool covers limited number of initial test cases. The extended coverage will be provided after this patch set is accepted.

Brian Gix (1):
mesh: Add unit test IO

Inga Stotland (1):
tools/mesh-cfgtest: Non-iteractive test for mesh

 Makefile.am          |   14 +-
 Makefile.mesh        |    2 +
 Makefile.tools       |    6 +
 mesh/main.c          |   51 +-
 mesh/mesh-io-unit.c  |  533 +++++++++++++++
 mesh/mesh-io-unit.h  |   11 +
 mesh/mesh-io.c       |    9 +-
 mesh/mesh-io.h       |    3 +-
 tools/mesh-cfgtest.c | 1458 ++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 2065 insertions(+), 22 deletions(-)
 create mode 100644 mesh/mesh-io-unit.c
 create mode 100644 mesh/mesh-io-unit.h
 create mode 100644 tools/mesh-cfgtest.c
Signature · 1 line
2.26.2