Do not run any test by default

This commit is contained in:
Pierre Pronchery 2020-03-12 02:27:13 +01:00
parent 3473d9c713
commit cae0ac9453
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ targets=tests
#targets
[tests]
type=command
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/fixme.log"; else $(MAKE) fixme.log; fi)
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/shlint.log" "$(OBJDIR)tests/tests.log"; else $(MAKE) fixme.log shlint.log tests.log; fi)
depends=all
enabled=0
phony=1

View File

@ -56,11 +56,13 @@ sources=lookup.c
type=script
script=./shlint.sh
depends=$(OBJDIR)../src/libApp.a,shlint.sh
enabled=0
[tests.log]
type=script
script=./tests.sh
depends=Test.expected,Test.interface,$(OBJDIR)AppBroker$(EXEEXT),appbroker.sh,$(OBJDIR)appclient$(EXEEXT),$(OBJDIR)appmessage$(EXEEXT),$(OBJDIR)appserver$(EXEEXT),$(OBJDIR)includes$(EXEEXT),$(OBJDIR)lookup$(EXEEXT),pkgconfig.sh,tests.sh,$(OBJDIR)transport$(EXEEXT),../src/transport/tcp.c,../src/transport/udp.c
enabled=0
[transport]
type=binary