xref: /btstack/test/Makefile (revision c37cd8f3d1350b92a2f66c31b2a5fcd75f8c91a4)
1
2# Makefile to build and run all tests
3
4SUBDIRS =  \
5	att_db \
6	avdtp \
7	avrcp \
8	tlv_posix \
9	ble_client \
10	btstack_link_key_db \
11	des_iterator \
12	gatt_client \
13	hfp \
14	linked_list \
15	sdp_client \
16	security_manager \
17	# maths \
18
19subdirs:
20	echo Building all tests
21	@set -e; \
22	for dir in $(SUBDIRS); do \
23	  $(MAKE) -C $$dir; \
24	done
25
26clean:
27	echo Clean all test
28	@set -e; \
29	for dir in $(SUBDIRS); do \
30	  $(MAKE) -C $$dir clean; \
31	done
32
33test:
34	echo Run all test
35	@set -e; \
36	for dir in $(SUBDIRS); do \
37	  $(MAKE) -C $$dir test; \
38	done
39
40
41