Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 1 | # busybox/tests/Makefile - Run through all defined tests. |
| 2 | # ------------------------ |
| 3 | # Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 4 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 5 | all:: message_header |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 6 | |
| 7 | message_header: |
| 8 | @echo |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 9 | @echo BusyBox Test Suite. |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 10 | @echo |
Eric Andersen | fba9c00 | 2000-08-21 23:01:39 +0000 | [diff] [blame] | 11 | (cd ..; tests/busybox.REGRESS.sh) |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 12 | |
Glenn L McGrath | 1cb2622 | 2003-09-10 23:47:10 +0000 | [diff] [blame] | 13 | clean:: |
Eric Andersen | e199220 | 2003-07-22 08:54:02 +0000 | [diff] [blame] | 14 | rm -f *.o |
Glenn L McGrath | 1cb2622 | 2003-09-10 23:47:10 +0000 | [diff] [blame] | 15 | rm -f tester.log |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 16 | |
| 17 | distclean: clean |
| 18 | |
| 19 | .PHONY: all clean distclean message_header |
| 20 | |
| 21 | include $(wildcard *_tests.mk) |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 22 | |
| 23 | BBL := $(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 Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 32 | ${BBL}: ../busybox |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 33 | rm -f $@ |
| 34 | ln ../busybox $@ |
Erik Andersen | e3ed156 | 2000-04-19 18:52:56 +0000 | [diff] [blame] | 35 | |
| 36 | syslog_test: syslog_test.c |