blob: 8ad304d865867d5107604ffbe58ba07dc49a788a [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
Erik Andersen029011b2000-03-04 21:19:32 +000013clean::
14
15distclean: clean
16
17.PHONY: all clean distclean message_header
18
19include $(wildcard *_tests.mk)
Erik Andersenfac10d72000-02-07 05:29:42 +000020
21BBL := $(shell pushd .. >/dev/null && \
22 ${MAKE} busybox.links >/dev/null && \
23 popd >/dev/null && \
24 cat ../busybox.links | \
25 sed -e 's,.*/\(.*\)$$,\1,')
26
27../busybox:
28 cd .. && ${MAKE} busybox
29
Erik Andersen029011b2000-03-04 21:19:32 +000030${BBL}: ../busybox
Erik Andersenfac10d72000-02-07 05:29:42 +000031 rm -f $@
32 ln ../busybox $@
Erik Andersene3ed1562000-04-19 18:52:56 +000033
34syslog_test: syslog_test.c