• G
    of/selftest: Test structure of device tree · f2051d6a
    Grant Likely 提交于
    Add a testcase to verify that the device tree is properly constructed
    and the lists are in a correct order. The new testcase gets run twice;
    once after adding the testcase data, and once after removing it again.
    It is run twice to make sure adding and removing the testcase data
    doesn't corrupt the data structure.
    Signed-off-by: NGrant Likely <grant.likely@linaro.org>
    Cc: Gaurav Minocha <gaurav.minocha.os@gmail.com>
    f2051d6a
selftest.c 23.8 KB