Only run the tests explicitly

This commit is contained in:
Pierre Pronchery 2020-01-18 14:32:25 +01:00
parent d60e2bfff9
commit ba4dc1fb30
2 changed files with 13 additions and 1 deletions

View File

@ -1,10 +1,20 @@
package=Camera package=Camera
version=0.2.0 version=0.2.0
vendor=Desktop
config=h,sh
subdirs=data,doc,po,src,src/widget,tools,tests subdirs=data,doc,po,src,src/widget,tools,tests
config=h,sh targets=tests
dist=COPYING,Makefile,config.h,config.sh 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 #dist
[COPYING] [COPYING]
install=$(PREFIX)/share/doc/$(PACKAGE) install=$(PREFIX)/share/doc/$(PACKAGE)

View File

@ -4,9 +4,11 @@ dist=Makefile,htmllint.sh,xmllint.sh
[htmllint.log] [htmllint.log]
type=script type=script
script=./htmllint.sh script=./htmllint.sh
enabled=0
depends=htmllint.sh depends=htmllint.sh
[xmllint.log] [xmllint.log]
type=script type=script
script=./xmllint.sh script=./xmllint.sh
enabled=0
depends=xmllint.sh depends=xmllint.sh