From 0414da132b8a48da2dda401b07c5a90793f92b59 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 18 Dec 2019 05:21:06 +0100 Subject: [PATCH] Register a target for tests --- project.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/project.conf b/project.conf index 736885b..73385ea 100644 --- a/project.conf +++ b/project.conf @@ -4,8 +4,17 @@ vendor=Desktop config=h,sh subdirs=data,doc,include,po,src,src/applets,tests,tools +targets=tests dist=COPYING,README.md,Makefile,config.h,config.sh +#targets +[tests] +type=command +command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/fixme.log"; else $(MAKE) fixme.log; fi) +depends=all +enabled=0 +phony=1 + #dist [README.md] install=$(PREFIX)/share/doc/$(PACKAGE)