Device Tree unittest
Enable
Enable unit tests through config option CONFIG_OF_UNITTEST
- Device Drivers ---> Device Tree and Open Firmware support ---> Device Tree runtime unit tests
Run
The unit tests will be performed near the end of the boot sequence. The start of the tests is indicated by:
### dt-test ### start of unittest - you will see error messages
An example test result summary is:
### dt-test ### end of unittest - 148 passed, 0 failed
Source Location
The unit tests are located in the Linux kernel source tree
- drivers/of/unittest.c
- drivers/of/unittest-data/