of: Add device tree selftests
Add some runtime test cases for the library of device tree parsing functions.
v2: - Add testcase for phandle with 0 args
- Don't run testcases if testcase data isn't present in device tree
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Showing
drivers/of/selftest.c
0 → 100644
Please register or sign in to comment