[PATCH v2 04/11] dm: test: Add a very simple of-platadata test

Simon Glass sjg at chromium.org
Fri Oct 30 04:34:21 CET 2020


At present we have a pytest that covers of-platadata. Add a very simple
unit test that just checks that a device can be found. This shows the
ability to write these tests in C.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 test/dm/Makefile      |  4 +++-
 test/dm/of_platdata.c | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 test/dm/of_platdata.c

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list