Add a convenience rule for running tests

This commit is contained in:
Pierre Pronchery 2020-11-18 23:51:48 +01:00
parent e54254027f
commit 963383c20e

View File

@ -4,4 +4,13 @@ vendor=Desktop
config=h,sh
subdirs=data,doc,include,po,src,tests
targets=tests
dist=Makefile,config.h,config.sh
#targets
[tests]
type=command
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/embedded.log"; else $(MAKE) embedded.log; fi)
depends=all
enabled=0
phony=1