]> git.dujemihanovic.xyz Git - u-boot.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)
commit6ec5178c0ef7c336ac41335aedc63f7f080a11a6
tree01c472fa7dfec35302eb17a1fc36ca853e03b15e
parente6e67bb9e0a40f3eb3c87d16935192821987c3e0
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