From ba4dc1fb3034f759515fd85f4c632c11d037b044 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 18 Jan 2020 14:32:25 +0100 Subject: [PATCH] Only run the tests explicitly --- project.conf | 12 +++++++++++- tests/project.conf | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/project.conf b/project.conf index 05cbbea..34c7264 100644 --- a/project.conf +++ b/project.conf @@ -1,10 +1,20 @@ package=Camera version=0.2.0 +vendor=Desktop +config=h,sh subdirs=data,doc,po,src,src/widget,tools,tests -config=h,sh +targets=tests dist=COPYING,Makefile,config.h,config.sh +#targets +[tests] +type=command +command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/htmllint.log" "$(OBJDIR)tests/xmllint.log"; else $(MAKE) htmllint.log xmllint.log; fi) +depends=all +enabled=0 +phony=1 + #dist [COPYING] install=$(PREFIX)/share/doc/$(PACKAGE) diff --git a/tests/project.conf b/tests/project.conf index 8c89b50..fc32a24 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -4,9 +4,11 @@ dist=Makefile,htmllint.sh,xmllint.sh [htmllint.log] type=script script=./htmllint.sh +enabled=0 depends=htmllint.sh [xmllint.log] type=script script=./xmllint.sh +enabled=0 depends=xmllint.sh