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

From: Tzung-Bi Shih
Date: Wed Jun 22 2022 - 00:11:58 EST


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

The series applies after
https://patchwork.kernel.org/project/chrome-platform/cover/20220615051248.1628156-1-tzungbi@xxxxxxxxxx/.

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(+)

--
2.37.0.rc0.104.g0611611a94-goog