diff options
Diffstat (limited to 'release/src/router/busybox/tests/Makefile')
-rw-r--r-- | release/src/router/busybox/tests/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/release/src/router/busybox/tests/Makefile b/release/src/router/busybox/tests/Makefile new file mode 100644 index 00000000..8ad304d8 --- /dev/null +++ b/release/src/router/busybox/tests/Makefile @@ -0,0 +1,34 @@ +# busybox/tests/Makefile - Run through all defined tests. +# ------------------------ +# Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL + +all:: message_header + +message_header: + @echo + @echo BusyBox Test Suite. + @echo + (cd ..; tests/busybox.REGRESS.sh) + +clean:: + +distclean: clean + +.PHONY: all clean distclean message_header + +include $(wildcard *_tests.mk) + +BBL := $(shell pushd .. >/dev/null && \ + ${MAKE} busybox.links >/dev/null && \ + popd >/dev/null && \ + cat ../busybox.links | \ + sed -e 's,.*/\(.*\)$$,\1,') + +../busybox: + cd .. && ${MAKE} busybox + +${BBL}: ../busybox + rm -f $@ + ln ../busybox $@ + +syslog_test: syslog_test.c |