Skip to content

Commit

Permalink
tests: Remove two_roots and named_root from LIBTREE_TESTS_L and add a…
Browse files Browse the repository at this point in the history
…ll 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 <[email protected]>
Signed-off-by: David Gibson <[email protected]>
  • Loading branch information
Drupping authored and dgibson committed Apr 29, 2024
1 parent 855c934 commit e6d2942
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/Makefile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -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)%)

Expand All @@ -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)
Expand Down

0 comments on commit e6d2942

Please sign in to comment.