2005-12-25 13:49:16 +00:00
|
|
|
# generic utility modules
|
|
|
|
|
# (c) 2001 jannet it services
|
|
|
|
|
# contact@jannet.de
|
|
|
|
|
# $Id$
|
|
|
|
|
|
2007-07-13 10:48:41 +00:00
|
|
|
EXE ?= test_$(notdir $(shell pwd))
|
2005-12-25 13:49:16 +00:00
|
|
|
|
|
|
|
|
include $(MODDIR)/make/exe.mk
|
|
|
|
|
|
2005-12-25 19:52:11 +00:00
|
|
|
test: test.done
|
|
|
|
|
clean: testclean
|
2005-12-25 13:49:16 +00:00
|
|
|
|
|
|
|
|
test.done:
|
2005-12-28 11:56:53 +00:00
|
|
|
if ! 2>&1 make run > test.out 2>&1; then \
|
2005-12-25 13:49:16 +00:00
|
|
|
cat test.out; \
|
2005-12-28 11:56:53 +00:00
|
|
|
exit 1; \
|
2005-12-25 13:49:16 +00:00
|
|
|
fi
|
|
|
|
|
touch $@
|
|
|
|
|
|
2005-12-25 19:52:11 +00:00
|
|
|
testclean:
|
2005-12-25 13:49:16 +00:00
|
|
|
rm -rf test.done test.out
|