Fix a bug where `ls -le` would print the time twice.
[oweals/busybox.git] / tests / Makefile
1 # busybox/tests/Makefile - Run through all defined tests.
2 # ------------------------
3 # Copyright (C) 2000  Karl M. Hegbloom <karlheg@debian.org>  GPL
4
5 all:: message_header
6
7 message_header:
8         @echo
9         @echo BusyBox Test Suite.
10         @echo
11         (cd ..; tests/busybox.REGRESS.sh)
12
13 clean::
14         rm -f *.o
15         rm -f tester.log
16
17 distclean: clean
18
19 .PHONY: all clean distclean message_header
20
21 include $(wildcard *_tests.mk)
22
23 BBL := $(shell pushd .. >/dev/null &&           \
24                  ${MAKE} busybox.links >/dev/null && \
25                popd >/dev/null &&               \
26                cat ../busybox.links |           \
27                  sed -e 's,.*/\(.*\)$$,\1,')
28
29 ../busybox:
30         cd .. && ${MAKE} busybox
31
32 ${BBL}: ../busybox
33         rm -f $@
34         ln ../busybox $@
35
36 syslog_test: syslog_test.c