Lines Matching refs:test
8 This document explains how the test data required for executing OF unittest
17 OF Selftest has been designed to test the interface (include/linux/of.h)
26 the test data required for executing the unit tests automated in
53 2.1. Adding the test data
101 Before executing OF unittest, it is required to attach the test data to
106 __dtb_testcases_begin - address marking the start of test data blob
107 __dtb_testcases_end - address marking the end of test data blob
111 then it attaches the unflattened test data tree to the live tree, else it
115 live tree as explained below. To explain the same, the test data tree described
122 test-child0 -> test-sibling1 -> test-sibling2 -> test-sibling3 -> null
124 test-child01 null null null
127 Figure 2: Example test data tree to be attached to live tree.
167 test-sibling3 -> test-sibling2 -> test-sibling1 -> test-child0 -> null
169 null null null test-child01
175 Astute readers would have noticed that test-child0 node becomes the last
177 test-child0 the test-sibling1 is attached that pushes the child node
178 (i.e. test-child0) to become a sibling and makes itself a child node,
187 2.2. Removing the test data
189 Once the test case execution is complete, selftest_data_remove is called in