From e6d2942008379e750740de54152efa586dc5d7b8 Mon Sep 17 00:00:00 2001 From: Zheng Guangyuan <1628513611@qq.com> Date: Mon, 8 Apr 2024 13:02:02 +0800 Subject: [PATCH] tests: Remove two_roots and named_root from LIBTREE_TESTS_L and add all dtb filenames generated by dumptrees to TESTS_TREES_L in Makefile.tests These two binaries are not produced; two_roots.dtb and named_root.dtb are instead generated in TESTS_TREES. Redundant file entries eliminated and Ensures that all dtb filenames generated by dumptrees are now accounted for in the TEST_TREES, addressing previous omissions Signed-off-by: Zheng Guangyuan <1628513611@qq.com> Signed-off-by: David Gibson --- tests/Makefile.tests | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.tests b/tests/Makefile.tests index 2c5b4c9..05bb3b2 100644 --- a/tests/Makefile.tests +++ b/tests/Makefile.tests @@ -32,8 +32,7 @@ LIB_TESTS_L = get_mem_rsv \ fs_tree1 LIB_TESTS = $(LIB_TESTS_L:%=$(TESTS_PREFIX)%) -LIBTREE_TESTS_L = truncated_property truncated_string truncated_memrsv \ - two_roots named_root +LIBTREE_TESTS_L = truncated_property truncated_string truncated_memrsv LIBTREE_TESTS = $(LIBTREE_TESTS_L:%=$(TESTS_PREFIX)%) @@ -44,7 +43,9 @@ endif TESTS = $(LIB_TESTS) $(LIBTREE_TESTS) $(DL_LIB_TESTS) -TESTS_TREES_L = test_tree1.dtb +TESTS_TREES_L = test_tree1.dtb bad_node_char.dtb bad_node_format.dtb \ + bad_prop_char.dtb ovf_size_strings.dtb truncated_property.dtb \ + truncated_string.dtb truncated_memrsv.dtb two_roots.dtb named_root.dtb TESTS_TREES = $(TESTS_TREES_L:%=$(TESTS_PREFIX)%) TESTS_TARGETS = $(TESTS) $(TESTS_TREES)