xref: /openbsd-src/regress/sys/sys/tree/rb/Makefile (revision 5dada7d42bfa0d3cef60543f50988cc714f0e977)
1#	$OpenBSD: Makefile,v 1.2 2023/12/29 02:37:39 aisha Exp $
2
3NAMED_TESTS = random-inserts sequential-inserts \
4	sequential-removes random-removes remove-nfind \
5	remove-pfind node-iterations iteration-macros insert-next \
6	insert-prev benchmarks
7
8REGRESS_TARGETS = all-tests ${NAMED_TESTS}
9
10PROGS = rb-test rbt-test
11
12all-tests: rb-test rbt-test
13	@echo "===== testing RB macros ====="
14	./rb-test
15	@echo "===== testing RBT macros ====="
16	./rbt-test
17
18${NAMED_TESTS}: rb-test rbt-test
19	@echo "===== testing RB macros ====="
20	./rb-test $@
21	@echo "===== testing RBT macros ====="
22	./rbt-test $@
23
24.include <bsd.regress.mk>
25