]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: test: Add a very simple of-platadata test
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 02:38:29 +0000 (20:38 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:18 +0000 (14:42 -0600)
commit217293e399148e704d6c318b19b1f69959831f7b
treebacd12ae3bdd11997d04694a361c8c6f2badb699
parentb25ff5cbaaaa7f144eb6e087b4bdd7362c58029d
dm: test: Add a very simple of-platadata test

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@chromium.org>
test/dm/Makefile
test/dm/of_platdata.c [new file with mode: 0644]