Skip to content

platform/chrome: cros_ec_proto: add Kunit tests

Tzung-Bi Shih chrome-platform lkml 1 version Applied

Status from this message: This series was applied to chrome-platform/linux.git (for-kernelci)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7platform/chrome: cros_ec_proto: add Kunit tests for cmd_xfer_statusdrivers/platform/chrome/cros_ec_proto_test.c+42 -01 replyApplied
2/7platform/chrome: cros_ec_proto: add Kunit test for cros_ec_map_error()drivers/platform/chrome/cros_ec_proto_test.c+49 -01 replyApplied
3/7platform/chrome: cros_ec_proto: add Kunit tests for get_next_eventdrivers/platform/chrome/cros_ec_proto_test.c+266 -01 replyApplied
4/7platform/chrome: cros_ec_proto: add Kunit tests for get_host_eventdrivers/platform/chrome/cros_ec_proto_test.c+59 -01 replyApplied
5/7platform/chrome: cros_ec_proto: add Kunit tests for check_featuresdrivers/platform/chrome/cros_ec_proto_test.c+77 -01 replyApplied
6/7platform/chrome: cros_ec_proto: add Kunit tests for get_sensor_countdrivers/platform/chrome/cros_ec_proto_test.c drivers/platform/chrome/cros_kunit_util.c drivers/platform/chrome/cros_kunit_util.h+182 -01 replyApplied
7/7platform/chrome: cros_ec_proto: add Kunit test for cros_ec_cmd()drivers/platform/chrome/cros_ec_proto_test.c+48 -01 replyApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchGuenter Roeck
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] platform/chrome: cros_ec_proto: add Kunit tests

The series add Kunit tests for the rest of exported functions.

The series applies after
https://patchwork.kernel.org/project/chrome-platform/cover/[email protected]/.

Tzung-Bi Shih (7):
platform/chrome: cros_ec_proto: add Kunit tests for cmd_xfer_status platform/chrome: cros_ec_proto: add Kunit test for cros_ec_map_error() platform/chrome: cros_ec_proto: add Kunit tests for get_next_event platform/chrome: cros_ec_proto: add Kunit tests for get_host_event platform/chrome: cros_ec_proto: add Kunit tests for check_features platform/chrome: cros_ec_proto: add Kunit tests for get_sensor_count platform/chrome: cros_ec_proto: add Kunit test for cros_ec_cmd()

 drivers/platform/chrome/cros_ec_proto_test.c | 694 +++++++++++++++++++
 drivers/platform/chrome/cros_kunit_util.c    |  22 +
 drivers/platform/chrome/cros_kunit_util.h    |   7 +
 3 files changed, 723 insertions(+)
Signature · 1 line
2.37.0.rc0.104.g0611611a94-goog