echo "$$success / $$all tests passed. Details in `pwd`/$(LOGFILE)"; \
if test $$success -eq $$all; then \
echo "All tests are succeded."; \
- else \
- grep "Failure" $(LOGFILE); \
fi
clean:
@for target in $(TESTS); do $(MAKE) clean -C $$target; done
create:
ifdef UNITNAME
@mkdir $(UNITNAME)
- @echo 'CMD = ' >>$(UNITNAME)/Makefile
+ @echo 'CMD = ' >>$(UNITNAME)/Makefile; \
+ echo 'include ../TEST.mk' >>$(UNITNAME)/Makefile
else
@echo "no test created. set UNITNAME"
endif