Only run the tests explicitly

This commit is contained in:
Pierre Pronchery 2020-01-12 09:43:23 +01:00
parent 54d7b0a3c5
commit 0b394c65a5
2 changed files with 11 additions and 0 deletions

View File

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

View File

@ -18,6 +18,7 @@ ldflags=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer
[fixme.log]
type=script
script=./fixme.sh
enabled=0
depends=fixme.sh
[imap4]
@ -39,6 +40,7 @@ sources=plugins.c
[tests.log]
type=script
script=./tests.sh
enabled=0
depends=$(OBJDIR)date,$(OBJDIR)email,$(OBJDIR)imap4,pkgconfig.sh,$(OBJDIR)plugins,tests.sh
#sources