blob: 3c604cd328f8936f5ea1696414fdcbca96415a47 [file] [log] [blame]
Erik Andersen029011b2000-03-04 21:19:32 +00001# busybox/tests/Makefile - Run through all defined tests.
2# ------------------------
3# Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL
Erik Andersenfac10d72000-02-07 05:29:42 +00004
Erik Andersen029011b2000-03-04 21:19:32 +00005all:: message_header
Erik Andersenfac10d72000-02-07 05:29:42 +00006
7message_header:
8 @echo
Erik Andersen029011b2000-03-04 21:19:32 +00009 @echo BusyBox Test Suite.
Erik Andersenfac10d72000-02-07 05:29:42 +000010 @echo
Eric Andersenfba9c002000-08-21 23:01:39 +000011 (cd ..; tests/busybox.REGRESS.sh)
Erik Andersenfac10d72000-02-07 05:29:42 +000012
Eric Andersene1992202003-07-22 08:54:02 +000013clean:
14 rm -f *.o
Erik Andersen029011b2000-03-04 21:19:32 +000015
16distclean: clean
17
18.PHONY: all clean distclean message_header
19
20include $(wildcard *_tests.mk)
Erik Andersenfac10d72000-02-07 05:29:42 +000021
22BBL := $(shell pushd .. >/dev/null && \
23 ${MAKE} busybox.links >/dev/null && \
24 popd >/dev/null && \
25 cat ../busybox.links | \
26 sed -e 's,.*/\(.*\)$$,\1,')
27
28../busybox:
29 cd .. && ${MAKE} busybox
30
Erik Andersen029011b2000-03-04 21:19:32 +000031${BBL}: ../busybox
Erik Andersenfac10d72000-02-07 05:29:42 +000032 rm -f $@
33 ln ../busybox $@
Erik Andersene3ed1562000-04-19 18:52:56 +000034
35syslog_test: syslog_test.c