A missing securetty file is not an error.
[oweals/busybox.git] / tests / Makefile
index 015634460582d076b5d04f2a09f7511f9b3f4173..8ad304d865867d5107604ffbe58ba07dc49a788a 100644 (file)
@@ -1,16 +1,22 @@
-all test_all: message_header cp_tests mv_tests ln_tests
+# busybox/tests/Makefile - Run through all defined tests.
+# ------------------------
+# Copyright (C) 2000  Karl M. Hegbloom <karlheg@debian.org>  GPL
 
-clean: cp_clean mv_clean ln_clean
+all:: message_header
 
 message_header:
        @echo
-       @echo If tests faile due to differences in timestamps in commands that are not set
-       @echo to preserve timestamps, just run the tests again.
+       @echo BusyBox Test Suite.
        @echo
+       (cd ..; tests/busybox.REGRESS.sh)
 
-include cp_tests.mk
-include mv_tests.mk
-include ln_tests.mk
+clean::
+
+distclean: clean
+
+.PHONY: all clean distclean message_header
+
+include $(wildcard *_tests.mk)
 
 BBL := $(shell pushd .. >/dev/null &&          \
                 ${MAKE} busybox.links >/dev/null && \
@@ -21,8 +27,8 @@ BBL := $(shell pushd .. >/dev/null &&         \
 ../busybox:
        cd .. && ${MAKE} busybox
 
-$(BBL): ../busybox
+${BBL}: ../busybox
        rm -f $@
        ln ../busybox $@
 
-.PHONY: all test_all message_header
+syslog_test: syslog_test.c