diff options
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/tests/Makefile b/tests/Makefile index 015634460..c4fb0e911 100644 --- a/tests/Makefile +++ b/tests/Makefile | |||
@@ -1,16 +1,21 @@ | |||
1 | all test_all: message_header cp_tests mv_tests ln_tests | 1 | # busybox/tests/Makefile - Run through all defined tests. |
2 | # ------------------------ | ||
3 | # Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL | ||
2 | 4 | ||
3 | clean: cp_clean mv_clean ln_clean | 5 | all:: message_header |
4 | 6 | ||
5 | message_header: | 7 | message_header: |
6 | @echo | 8 | @echo |
7 | @echo If tests faile due to differences in timestamps in commands that are not set | 9 | @echo BusyBox Test Suite. |
8 | @echo to preserve timestamps, just run the tests again. | ||
9 | @echo | 10 | @echo |
10 | 11 | ||
11 | include cp_tests.mk | 12 | clean:: |
12 | include mv_tests.mk | 13 | |
13 | include ln_tests.mk | 14 | distclean: clean |
15 | |||
16 | .PHONY: all clean distclean message_header | ||
17 | |||
18 | include $(wildcard *_tests.mk) | ||
14 | 19 | ||
15 | BBL := $(shell pushd .. >/dev/null && \ | 20 | BBL := $(shell pushd .. >/dev/null && \ |
16 | ${MAKE} busybox.links >/dev/null && \ | 21 | ${MAKE} busybox.links >/dev/null && \ |
@@ -21,8 +26,6 @@ BBL := $(shell pushd .. >/dev/null && \ | |||
21 | ../busybox: | 26 | ../busybox: |
22 | cd .. && ${MAKE} busybox | 27 | cd .. && ${MAKE} busybox |
23 | 28 | ||
24 | $(BBL): ../busybox | 29 | ${BBL}: ../busybox |
25 | rm -f $@ | 30 | rm -f $@ |
26 | ln ../busybox $@ | 31 | ln ../busybox $@ |
27 | |||
28 | .PHONY: all test_all message_header | ||