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

2020-10-29 Thread Simon Glass
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 --- (no changes since v1) test/dm/Makefile | 4 +++- test/dm/of_platdata.c | 19

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

2020-10-25 Thread Simon Glass
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 --- (no changes since v1) test/dm/Makefile | 4 +++- test/dm/of_platdata.c | 19