]> git.baikalelectronics.ru Git - uboot.git/commit
test: Skip flat-tree tests if devicetree is not used
authorSimon Glass <sjg@chromium.org>
Wed, 12 Jul 2023 15:04:30 +0000 (09:04 -0600)
committerBin Meng <bmeng@tinylab.org>
Sun, 16 Jul 2023 15:13:17 +0000 (23:13 +0800)
commit5c4341d41e9d3a38b10c106caeda824a2b1c4eff
tree01c472fa7dfec35302eb17a1fc36ca853e03b15e
parent6cd0ddf8f660f31d73795cea4f61c73686207434
test: Skip flat-tree tests if devicetree is not used

Many tests don't actually use the devicetree at all so there is no point
in running the tests both with livetree and flat tree. Check for this and
skip the flat tree test in that case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
test/test-main.c