From e050df556b4da651a44e2b42fb9cdce99a7b058b Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 17 Jan 2020 07:21:50 +0100 Subject: [PATCH] Register a target to run the tests --- project.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/project.conf b/project.conf index b7499e5..7f7a091 100644 --- a/project.conf +++ b/project.conf @@ -4,8 +4,17 @@ vendor=Desktop config=h,sh subdirs=data,doc,po,src,tools,tests +targets=tests dist=Makefile,COPYING,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 + #dist [COPYING] install=$(PREFIX)/share/doc/$(PACKAGE)