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 | |
Erik Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 13 | clean:: |
| 14 | |
| 15 | distclean: clean |
| 16 | |
| 17 | .PHONY: all clean distclean message_header |
| 18 | |
| 19 | include $(wildcard *_tests.mk) |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 20 | |
| 21 | BBL := $(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 Andersen | 029011b | 2000-03-04 21:19:32 +0000 | [diff] [blame] | 30 | ${BBL}: ../busybox |
Erik Andersen | fac10d7 | 2000-02-07 05:29:42 +0000 | [diff] [blame] | 31 | rm -f $@ |
| 32 | ln ../busybox $@ |
Erik Andersen | e3ed156 | 2000-04-19 18:52:56 +0000 | [diff] [blame] | 33 | |
| 34 | syslog_test: syslog_test.c |