summaryrefslogtreecommitdiff
path: root/tests/Makefile
blob: 16f53452e29de38f385177b2d18690a990e2aa1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# busybox/tests/Makefile - Run through all defined tests.
# ------------------------
# Copyright (C) 2000  Karl M. Hegbloom <karlheg@debian.org>  GPL

all:: message_header

message_header:
	@echo
	@echo BusyBox Test Suite.
	@echo
	(cd ..; tests/busybox.REGRESS.sh)

clean::
	rm -f *.o
	rm -f tester.log

distclean: clean

.PHONY: all clean distclean message_header

include $(wildcard *_tests.mk)

BBL := $(shell pushd .. >/dev/null &&		\
	         ${MAKE} busybox.links >/dev/null && \
	       popd >/dev/null &&		\
	       cat ../busybox.links |		\
	         sed -e 's,.*/\(.*\)$$,\1,')

../busybox:
	cd .. && ${MAKE} busybox

${BBL}: ../busybox
	rm -f $@
	ln ../busybox $@

syslog_test: syslog_test.c