head	1.1;
branch	1.1.1;
access;
symbols
	netbsd-11-0-RC4:1.1.1.3
	netbsd-11-0-RC3:1.1.1.3
	netbsd-11-0-RC2:1.1.1.3
	netbsd-11-0-RC1:1.1.1.3
	perseant-exfatfs-base-20250801:1.1.1.3
	netbsd-11:1.1.1.3.0.12
	netbsd-11-base:1.1.1.3
	netbsd-10-1-RELEASE:1.1.1.3
	perseant-exfatfs-base-20240630:1.1.1.3
	perseant-exfatfs:1.1.1.3.0.10
	perseant-exfatfs-base:1.1.1.3
	netbsd-8-3-RELEASE:1.1.1.1.8.1
	netbsd-9-4-RELEASE:1.1.1.2
	netbsd-10-0-RELEASE:1.1.1.3
	netbsd-10-0-RC6:1.1.1.3
	netbsd-10-0-RC5:1.1.1.3
	netbsd-10-0-RC4:1.1.1.3
	netbsd-10-0-RC3:1.1.1.3
	netbsd-10-0-RC2:1.1.1.3
	netbsd-10-0-RC1:1.1.1.3
	netbsd-10:1.1.1.3.0.8
	netbsd-10-base:1.1.1.3
	netbsd-9-3-RELEASE:1.1.1.2
	cjep_sun2x-base1:1.1.1.3
	cjep_sun2x:1.1.1.3.0.6
	cjep_sun2x-base:1.1.1.3
	cjep_staticlib_x-base1:1.1.1.3
	netbsd-9-2-RELEASE:1.1.1.2
	cjep_staticlib_x:1.1.1.3.0.4
	cjep_staticlib_x-base:1.1.1.3
	netbsd-9-1-RELEASE:1.1.1.2
	phil-wifi-20200421:1.1.1.3
	phil-wifi-20200411:1.1.1.3
	is-mlppp:1.1.1.3.0.2
	is-mlppp-base:1.1.1.3
	phil-wifi-20200406:1.1.1.3
	netbsd-8-2-RELEASE:1.1.1.1.8.1
	netbsd-9-0-RELEASE:1.1.1.2
	netbsd-9-0-RC2:1.1.1.2
	dtc-1-5-1:1.1.1.3
	netbsd-9-0-RC1:1.1.1.2
	phil-wifi-20191119:1.1.1.2
	netbsd-9:1.1.1.2.0.8
	netbsd-9-base:1.1.1.2
	phil-wifi-20190609:1.1.1.2
	netbsd-8-1-RELEASE:1.1.1.1.8.1
	netbsd-8-1-RC1:1.1.1.1.8.1
	pgoyette-compat-merge-20190127:1.1.1.2
	pgoyette-compat-20190127:1.1.1.2
	pgoyette-compat-20190118:1.1.1.2
	pgoyette-compat-1226:1.1.1.2
	pgoyette-compat-1126:1.1.1.2
	pgoyette-compat-1020:1.1.1.2
	pgoyette-compat-0930:1.1.1.2
	pgoyette-compat-0906:1.1.1.2
	pgoyette-compat-0728:1.1.1.2
	netbsd-8-0-RELEASE:1.1.1.1.8.1
	phil-wifi:1.1.1.2.0.6
	phil-wifi-base:1.1.1.2
	pgoyette-compat-0625:1.1.1.2
	netbsd-8-0-RC2:1.1.1.1.8.1
	pgoyette-compat-0521:1.1.1.2
	pgoyette-compat-0502:1.1.1.2
	pgoyette-compat-0422:1.1.1.2
	netbsd-8-0-RC1:1.1.1.1.8.1
	pgoyette-compat-0415:1.1.1.2
	pgoyette-compat-0407:1.1.1.2
	pgoyette-compat-0330:1.1.1.2
	pgoyette-compat-0322:1.1.1.2
	pgoyette-compat-0315:1.1.1.2
	pgoyette-compat:1.1.1.2.0.4
	pgoyette-compat-base:1.1.1.2
	matt-nb8-mediatek:1.1.1.1.8.1.0.2
	matt-nb8-mediatek-base:1.1.1.1.8.1
	perseant-stdc-iso10646:1.1.1.2.0.2
	perseant-stdc-iso10646-base:1.1.1.2
	dtc-1-4-4:1.1.1.2
	netbsd-8:1.1.1.1.0.8
	netbsd-8-base:1.1.1.1
	prg-localcount2-base3:1.1.1.1
	prg-localcount2-base2:1.1.1.1
	prg-localcount2-base1:1.1.1.1
	prg-localcount2:1.1.1.1.0.6
	prg-localcount2-base:1.1.1.1
	pgoyette-localcount-20170426:1.1.1.1
	bouyer-socketcan-base1:1.1.1.1
	pgoyette-localcount-20170320:1.1.1.1
	bouyer-socketcan:1.1.1.1.0.4
	bouyer-socketcan-base:1.1.1.1
	pgoyette-localcount-20170107:1.1.1.1
	pgoyette-localcount-20161104:1.1.1.1
	localcount-20160914:1.1.1.1
	pgoyette-localcount-20160806:1.1.1.1
	pgoyette-localcount-20160726:1.1.1.1
	pgoyette-localcount:1.1.1.1.0.2
	pgoyette-localcount-base:1.1.1.1
	dtc-1-4-1:1.1.1.1
	DTC:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2015.12.04.12.30.06;	author macallan;	state Exp;
branches
	1.1.1.1;
next	;
commitid	OsId0MgNwq680DLy;

1.1.1.1
date	2015.12.04.12.30.06;	author macallan;	state Exp;
branches
	1.1.1.1.8.1;
next	1.1.1.2;
commitid	OsId0MgNwq680DLy;

1.1.1.2
date	2017.06.08.15.59.25;	author skrll;	state Exp;
branches
	1.1.1.2.6.1;
next	1.1.1.3;
commitid	mtHBGj7mDqt5qAUz;

1.1.1.3
date	2019.12.22.12.34.06;	author skrll;	state Exp;
branches;
next	;
commitid	uQy8eXAZh9UguHPB;

1.1.1.1.8.1
date	2017.07.18.17.17.53;	author snj;	state Exp;
branches;
next	;
commitid	ODe5xU9ximHZyJZz;

1.1.1.2.6.1
date	2020.04.08.14.04.21;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;


desc
@@


1.1
log
@Initial revision
@
text
@LIB_TESTS_L = get_mem_rsv \
	root_node find_property subnode_offset path_offset \
	get_name getprop get_phandle \
	get_path supernode_atdepth_offset parent_offset \
	node_offset_by_prop_value node_offset_by_phandle \
	node_check_compatible node_offset_by_compatible \
	get_alias \
	char_literal \
	sized_cells \
	notfound \
	addr_size_cells \
	stringlist \
	setprop_inplace nop_property nop_node \
	sw_tree1 \
	move_and_save mangle-layout nopulate \
	open_pack rw_tree1 set_name setprop del_property del_node \
	appendprop1 appendprop2 propname_escapes \
	string_escapes references path-references phandle_format \
	boot-cpuid incbin \
	extra-terminating-null \
	dtbs_equal_ordered \
	dtb_reverse dtbs_equal_unordered \
	add_subnode_with_nops path_offset_aliases \
	utilfdt_test \
	integer-expressions \
	subnode_iterate
LIB_TESTS = $(LIB_TESTS_L:%=$(TESTS_PREFIX)%)

LIBTREE_TESTS_L = truncated_property
LIBTREE_TESTS = $(LIBTREE_TESTS_L:%=$(TESTS_PREFIX)%)

DL_LIB_TESTS_L = asm_tree_dump value-labels
DL_LIB_TESTS = $(DL_LIB_TESTS_L:%=$(TESTS_PREFIX)%)

TESTS = $(LIB_TESTS) $(LIBTREE_TESTS) $(DL_LIB_TESTS)

TESTS_TREES_L = test_tree1.dtb
TESTS_TREES = $(TESTS_TREES_L:%=$(TESTS_PREFIX)%)

TESTS_TARGETS = $(TESTS) $(TESTS_TREES)

TESTS_DEPFILES = $(TESTS:%=%.d) \
	$(addprefix $(TESTS_PREFIX),testutils.d trees.d dumptrees.d)

TESTS_CLEANFILES_L =  *.output vglog.* vgcore.* *.dtb *.test.dts *.dtsv1 tmp.*
TESTS_CLEANFILES_L += dumptrees
TESTS_CLEANFILES = $(TESTS) $(TESTS_CLEANFILES_L:%=$(TESTS_PREFIX)%)

.PHONY: tests
tests:	$(TESTS) $(TESTS_TREES)

$(LIB_TESTS): %: $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_archive)

$(DL_LIB_TESTS): %: %.o $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_archive)
	@@$(VECHO) LD [libdl] $@@
	$(LINK.c) -o $@@ $^ -ldl

$(LIBTREE_TESTS): %: $(TESTS_PREFIX)testutils.o $(TESTS_PREFIX)trees.o \
		util.o $(LIBFDT_archive)

$(TESTS_PREFIX)dumptrees: $(TESTS_PREFIX)trees.o

$(TESTS_TREES): $(TESTS_PREFIX)dumptrees
	@@$(VECHO) DUMPTREES
	cd $(TESTS_PREFIX); ./dumptrees >/dev/null

tests_clean:
	@@$(VECHO) CLEAN "(tests)"
	rm -f $(STD_CLEANFILES:%=$(TESTS_PREFIX)%)
	rm -f $(TESTS_CLEANFILES)

check:	tests ${TESTS_BIN}
	cd $(TESTS_PREFIX); ./run_tests.sh

checkm: tests ${TESTS_BIN}
	cd $(TESTS_PREFIX); ./run_tests.sh -m 2>&1 | tee vglog.$$$$

checkv:	tests ${TESTS_BIN}
	cd $(TESTS_PREFIX); ./run_tests.sh -v

ifneq ($(DEPTARGETS),)
-include $(TESTS_DEPFILES)
endif

@


1.1.1.1
log
@initial import of Device Tree Compiler and related tools
@
text
@@


1.1.1.1.8.1
log
@Pull up following revision(s) (requested by jmcneill in ticket #114):
	external/gpl2/dtc/Makefile: up to 1.1
	external/gpl2/dtc/Makefile.inc: up to 1.2
	external/gpl2/dtc/dist/.gitignore delete
	external/gpl2/dtc/dist/.travis.yml delete
	external/gpl2/dtc/dist/Documentation/dt-object-internal.txt: up to 1.1.1.1
	external/gpl2/dtc/dist/Documentation/manual.txt: up to 1.1.1.2
	external/gpl2/dtc/dist/Makefile: up to 1.1.1.2
	external/gpl2/dtc/dist/README: up to 1.1.1.2
	external/gpl2/dtc/dist/checks.c: up to 1.1.1.2
	external/gpl2/dtc/dist/convert-dtsv0-lexer.l: up to 1.1.1.2
	external/gpl2/dtc/dist/data.c: up to 1.3
	external/gpl2/dtc/dist/dtc-lexer.l: up to 1.3
	external/gpl2/dtc/dist/dtc-parser.y: up to 1.3
	external/gpl2/dtc/dist/dtc.c: up to 1.1.1.2
	external/gpl2/dtc/dist/dtc.h: up to 1.3
	external/gpl2/dtc/dist/fdtdump.c: up to 1.3
	external/gpl2/dtc/dist/fdtget.c: up to 1.1.1.2
	external/gpl2/dtc/dist/fdtput.c: up to 1.3
	external/gpl2/dtc/dist/flattree.c: up to 1.4
	external/gpl2/dtc/dist/fstree.c: up to 1.1.1.2
	external/gpl2/dtc/dist/libfdt/Makefile.libfdt delete
	external/gpl2/dtc/dist/libfdt/TODO delete
	external/gpl2/dtc/dist/libfdt/fdt.c delete
	external/gpl2/dtc/dist/libfdt/fdt.h delete
	external/gpl2/dtc/dist/libfdt/fdt_addresses.c delete
	external/gpl2/dtc/dist/libfdt/fdt_empty_tree.c delete
	external/gpl2/dtc/dist/libfdt/fdt_ro.c delete
	external/gpl2/dtc/dist/libfdt/fdt_rw.c delete
	external/gpl2/dtc/dist/libfdt/fdt_strerror.c delete
	external/gpl2/dtc/dist/libfdt/fdt_sw.c delete
	external/gpl2/dtc/dist/libfdt/fdt_wip.c delete
	external/gpl2/dtc/dist/libfdt/libfdt.h delete
	external/gpl2/dtc/dist/libfdt/libfdt_env.h delete
	external/gpl2/dtc/dist/libfdt/libfdt_internal.h delete
	external/gpl2/dtc/dist/libfdt/version.lds delete
	external/gpl2/dtc/dist/livetree.c: up to 1.1.1.2
	external/gpl2/dtc/dist/srcpos.c: up to 1.3
	external/gpl2/dtc/dist/srcpos.h: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/.gitignore: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/Makefile.tests: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/add_subnode_with_nops.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/addr_size_cells.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/appendprop1.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/appendprop2.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/asm_tree_dump.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/bad-octal-literal.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/boot-cpuid.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/char_literal.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/check_path.c: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/del_node.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/del_property.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/division-by-zero.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/dtb_reverse.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/dtbs_equal_ordered.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/dtbs_equal_unordered.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/dumptrees.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/extra-terminating-null.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/find_property.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/get_alias.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/get_mem_rsv.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/get_name.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/get_path.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/get_phandle.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/getprop.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/incbin.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/integer-expressions.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/line_directives.dts: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/mangle-layout.c: up to 1.3
	external/gpl2/dtc/dist/tests/move_and_save.c: up to 1.3
	external/gpl2/dtc/dist/tests/node_check_compatible.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/node_offset_by_compatible.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/node_offset_by_phandle.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/node_offset_by_prop_value.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/nop_node.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/nop_property.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/nopulate.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/notfound.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/nul-in-escape.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/nul-in-line-info1.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/nul-in-line-info2.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/open_pack.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/overlay.c: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup.c: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_bad_index.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_base.dtsi: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_empty.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_empty_index.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_index_trailing.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_path_empty_prop.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_path_only.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_path_only_sep.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_bad_fixup_path_prop.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_base.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_base_manual_symbols.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_overlay.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_overlay_manual_fixups.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_overlay_no_fixups.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/overlay_overlay_simple.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/parent_offset.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/path-references.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/path_offset.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/path_offset_aliases.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/phandle_format.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/property_iterate.c: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/property_iterate.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/propname_escapes.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/references.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/reg-without-unit-addr.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/root_node.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/run_tests.sh: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/rw_tree1.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/set_name.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/setprop.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/setprop_inplace.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/sized_cells.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/string_escapes.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/stringlist.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/subnode_iterate.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/subnode_offset.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/supernode_atdepth_offset.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/sw_tree1.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/test_label_ref.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/test_tree1.dts: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/test_tree1_body.dtsi delete
	external/gpl2/dtc/dist/tests/test_tree1_delete.dts: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/testdata.h: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/tests.h: up to 1.3
	external/gpl2/dtc/dist/tests/testutils.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/trees.S: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/truncated_property.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/unit-addr-without-reg.dts: up to 1.1.1.1
	external/gpl2/dtc/dist/tests/utilfdt_test.c: up to 1.1.1.2
	external/gpl2/dtc/dist/tests/value-labels.c: up to 1.1.1.2
	external/gpl2/dtc/dist/treesource.c: up to 1.1.1.2
	external/gpl2/dtc/dist/util.c: up to 1.1.1.2
	external/gpl2/dtc/dist/util.h: up to 1.3
	external/gpl2/dtc/dtc2netbsd: up to 1.2
	external/gpl2/dtc/lib/Makefile: up to 1.1
	external/gpl2/dtc/lib/libfdt/Makefile: up to 1.3
	external/gpl2/dtc/usr.bin/Makefile: up to 1.1
	external/gpl2/dtc/usr.bin/Makefile.inc: up to 1.1
	external/gpl2/dtc/usr.bin/dtc/Makefile: up to 1.2
	external/gpl2/dtc/usr.bin/dtc/version_gen.h: up to 1.2
Import DTC 1.4.4.
@
text
@d26 1
a26 4
	property_iterate \
	subnode_iterate \
	overlay overlay_bad_fixup \
	check_path
@


1.1.1.2
log
@Import of DTC from DTC version 1.4.4
@
text
@d26 1
a26 4
	property_iterate \
	subnode_iterate \
	overlay overlay_bad_fixup \
	check_path
@


1.1.1.2.6.1
log
@Merge changes from current as of 20200406
@
text
@d3 1
a3 1
	get_name getprop get_prop_offset get_phandle \
a11 2
	addr_size_cells2 \
	appendprop_addrrange \
d14 1
a14 1
	sw_tree1 sw_states \
d16 1
a16 1
	open_pack rw_tree1 rw_oom set_name setprop del_property del_node \
d29 1
a29 2
	check_path check_header check_full \
	fs_tree1
d32 1
a32 1
LIBTREE_TESTS_L = truncated_property truncated_string truncated_memrsv
d48 2
a49 3
TESTS_CLEANFILES_L = $(STD_CLEANFILES) \
	*.dtb *.test.dts *.test.dt.yaml *.dtsv1 tmp.* \
	dumptrees
a50 2
TESTS_CLEANDIRS_L = fs
TESTS_CLEANDIRS = $(TESTS_CLEANDIRS_L:%=$(TESTS_PREFIX)%)
d55 1
a55 1
$(LIB_TESTS): %: $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_lib)
d57 1
a57 4
# Not necessary on all platforms; allow -ldl to be excluded instead of forcing
# other platforms to patch it out.
LIBDL = -ldl
$(DL_LIB_TESTS): %: %.o $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_lib)
d59 1
a59 1
	$(LINK.c) -o $@@ $^ $(LIBDL)
d62 1
a62 1
		util.o $(LIBFDT_lib)
d72 1
a73 1
	rm -rf $(TESTS_CLEANDIRS)
d75 2
a76 2
check:	tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
	cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh
d78 2
a79 7
ifeq ($(NO_VALGRIND),1)
checkm:
	@@echo "make checkm requires valgrind, but NO_VALGRIND=1"
else
checkm: tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
	cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh -m
endif
d81 2
a82 2
checkv:	tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
	cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh -v
d87 1
@


1.1.1.3
log
@Import dtc 1.5.1
@
text
@d3 1
a3 1
	get_name getprop get_prop_offset get_phandle \
a11 2
	addr_size_cells2 \
	appendprop_addrrange \
d14 1
a14 1
	sw_tree1 sw_states \
d16 1
a16 1
	open_pack rw_tree1 rw_oom set_name setprop del_property del_node \
d29 1
a29 2
	check_path check_header check_full \
	fs_tree1
d32 1
a32 1
LIBTREE_TESTS_L = truncated_property truncated_string truncated_memrsv
d48 2
a49 3
TESTS_CLEANFILES_L = $(STD_CLEANFILES) \
	*.dtb *.test.dts *.test.dt.yaml *.dtsv1 tmp.* \
	dumptrees
a50 2
TESTS_CLEANDIRS_L = fs
TESTS_CLEANDIRS = $(TESTS_CLEANDIRS_L:%=$(TESTS_PREFIX)%)
d55 1
a55 1
$(LIB_TESTS): %: $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_lib)
d57 1
a57 4
# Not necessary on all platforms; allow -ldl to be excluded instead of forcing
# other platforms to patch it out.
LIBDL = -ldl
$(DL_LIB_TESTS): %: %.o $(TESTS_PREFIX)testutils.o util.o $(LIBFDT_lib)
d59 1
a59 1
	$(LINK.c) -o $@@ $^ $(LIBDL)
d62 1
a62 1
		util.o $(LIBFDT_lib)
d72 1
a73 1
	rm -rf $(TESTS_CLEANDIRS)
d75 2
a76 2
check:	tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
	cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh
d78 2
a79 7
ifeq ($(NO_VALGRIND),1)
checkm:
	@@echo "make checkm requires valgrind, but NO_VALGRIND=1"
else
checkm: tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
	cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh -m
endif
d81 2
a82 2
checkv:	tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
	cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh -v
d87 1
@


