blob: 16f53452e29de38f385177b2d18690a990e2aa1f [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
Glenn L McGrath1cb26222003-09-10 23:47:10 +000013clean::
Eric Andersene1992202003-07-22 08:54:02 +000014 rm -f *.o
Glenn L McGrath1cb26222003-09-10 23:47:10 +000015 rm -f tester.log
Erik Andersen029011b2000-03-04 21:19:32 +000016
17distclean: clean
18
19.PHONY: all clean distclean message_header
20
21include $(wildcard *_tests.mk)
Erik Andersenfac10d72000-02-07 05:29:42 +000022
23BBL := $(shell pushd .. >/dev/null && \
24 ${MAKE} busybox.links >/dev/null && \
25 popd >/dev/null && \
26 cat ../busybox.links | \
27 sed -e 's,.*/\(.*\)$$,\1,')
28
29../busybox:
30 cd .. && ${MAKE} busybox
31
Erik Andersen029011b2000-03-04 21:19:32 +000032${BBL}: ../busybox
Erik Andersenfac10d72000-02-07 05:29:42 +000033 rm -f $@
34 ln ../busybox $@
Erik Andersene3ed1562000-04-19 18:52:56 +000035
36syslog_test: syslog_test.c