A few minor updates. ;-)
[oweals/busybox.git] / tests / Makefile
1 all test_all: message_header cp_tests mv_tests ln_tests
2
3 clean: cp_clean mv_clean ln_clean
4
5 message_header:
6         @echo
7         @echo If tests faile due to differences in timestamps in commands that are not set
8         @echo to preserve timestamps, just run the tests again.
9         @echo
10
11 include cp_tests.mk
12 include mv_tests.mk
13 include ln_tests.mk
14
15 BBL := $(shell pushd .. >/dev/null &&           \
16                  ${MAKE} busybox.links >/dev/null && \
17                popd >/dev/null &&               \
18                cat ../busybox.links |           \
19                  sed -e 's,.*/\(.*\)$$,\1,')
20
21 ../busybox:
22         cd .. && ${MAKE} busybox
23
24 $(BBL): ../busybox
25         rm -f $@
26         ln ../busybox $@
27
28 .PHONY: all test_all message_header