]> git.sur5r.net Git - u-boot/blobdiff - include/test/test.h
dm: core: Run tests with both livetree and flat tree
[u-boot] / include / test / test.h
index e3e821c6ea8a9a2183ba9f100aae643af9d8ed65..646dbfd486459bd5558407ed74e21305bbe842a9 100644 (file)
  * @fail_count: Number of tests that failed
  * @start: Store the starting mallinfo when doing leak test
  * @priv: A pointer to some other info some suites want to track
+ * @of_root: Record of the livetree root node (used for setting up tests)
  */
 struct unit_test_state {
        int fail_count;
        struct mallinfo start;
        void *priv;
+       struct device_node *of_root;
 };
 
 /**