2000-03-04 21:19:32 +00:00
|
|
|
# busybox/tests/Makefile - Run through all defined tests.
|
|
|
|
# ------------------------
|
|
|
|
# Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL
|
2000-02-07 05:29:42 +00:00
|
|
|
|
2000-03-04 21:19:32 +00:00
|
|
|
all:: message_header
|
2000-02-07 05:29:42 +00:00
|
|
|
|
|
|
|
message_header:
|
|
|
|
@echo
|
2000-03-04 21:19:32 +00:00
|
|
|
@echo BusyBox Test Suite.
|
2000-02-07 05:29:42 +00:00
|
|
|
@echo
|
2000-08-21 23:01:39 +00:00
|
|
|
(cd ..; tests/busybox.REGRESS.sh)
|
2000-02-07 05:29:42 +00:00
|
|
|
|
2003-09-10 23:47:10 +00:00
|
|
|
clean::
|
2003-07-22 08:54:02 +00:00
|
|
|
rm -f *.o
|
2003-09-10 23:47:10 +00:00
|
|
|
rm -f tester.log
|
2000-03-04 21:19:32 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
|
|
|
|
.PHONY: all clean distclean message_header
|
|
|
|
|
|
|
|
include $(wildcard *_tests.mk)
|
2000-02-07 05:29:42 +00:00
|
|
|
|
|
|
|
BBL := $(shell pushd .. >/dev/null && \
|
|
|
|
${MAKE} busybox.links >/dev/null && \
|
|
|
|
popd >/dev/null && \
|
|
|
|
cat ../busybox.links | \
|
|
|
|
sed -e 's,.*/\(.*\)$$,\1,')
|
|
|
|
|
|
|
|
../busybox:
|
|
|
|
cd .. && ${MAKE} busybox
|
|
|
|
|
2000-03-04 21:19:32 +00:00
|
|
|
${BBL}: ../busybox
|
2000-02-07 05:29:42 +00:00
|
|
|
rm -f $@
|
|
|
|
ln ../busybox $@
|
2000-04-19 18:52:56 +00:00
|
|
|
|
|
|
|
syslog_test: syslog_test.c
|