Only run the tests explicitly

This commit is contained in:
Pierre Pronchery 2020-01-13 02:12:13 +01:00
parent 3494436250
commit 3ddfb6d30f
2 changed files with 13 additions and 0 deletions

View File

@ -3,8 +3,17 @@ version=0.3.0
config=h,sh config=h,sh
subdirs=data,doc,include,po,src,tests subdirs=data,doc,include,po,src,tests
targets=tests
dist=COPYING,Makefile,README.md,config.h,config.sh dist=COPYING,Makefile,README.md,config.h,config.sh
#targets
[tests]
type=command
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/xmllint.log"; else $(MAKE) clint.log fixme.log xmllint.log; fi)
depends=all
enabled=0
phony=1
#dist #dist
[COPYING] [COPYING]
install=$(PREFIX)/share/doc/Mixer install=$(PREFIX)/share/doc/Mixer

View File

@ -1,18 +1,22 @@
targets=clint.log,fixme.log,xmllint.log targets=clint.log,fixme.log,xmllint.log
dist=Makefile,clint.sh,embedded.sh,fixme.sh,xmllint.sh dist=Makefile,clint.sh,embedded.sh,fixme.sh,xmllint.sh
#targets
[clint.log] [clint.log]
type=script type=script
script=./clint.sh script=./clint.sh
flags=-O CFLAGS="-I/usr/include `pkg-config --cflags libDesktop`" flags=-O CFLAGS="-I/usr/include `pkg-config --cflags libDesktop`"
enabled=0
depends=clint.sh depends=clint.sh
[fixme.log] [fixme.log]
type=script type=script
script=./fixme.sh script=./fixme.sh
enabled=0
depends=fixme.sh depends=fixme.sh
[xmllint.log] [xmllint.log]
type=script type=script
script=./xmllint.sh script=./xmllint.sh
enabled=0
depends=xmllint.sh depends=xmllint.sh