Make every test optional
This commit is contained in:
parent
15cb1a5316
commit
e3794aa528
|
@ -9,7 +9,7 @@ dist=Makefile,COPYING,README.md,TODO,config.h,config.sh
|
||||||
#targets
|
#targets
|
||||||
[tests]
|
[tests]
|
||||||
type=command
|
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/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/tests.log" "$(OBJDIR)tests/xmllint.log"; else $(MAKE) clint.log fixme.log tests.log xmllint.log; fi)
|
||||||
depends=all
|
depends=all
|
||||||
enabled=0
|
enabled=0
|
||||||
phony=1
|
phony=1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
targets=clint.log,fixme.log,htmllint.log,plugins,vfs,tests.log,xmllint.log
|
targets=clint.log,fixme.log,htmllint.log,plugins,tests.log,vfs,xmllint.log
|
||||||
cppflags_force=-I ../include
|
cppflags_force=-I ../include
|
||||||
cflags_force=`pkg-config --cflags libDesktop`
|
cflags_force=`pkg-config --cflags libDesktop`
|
||||||
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
|
@ -10,6 +10,7 @@ dist=Makefile,clint.sh,embedded.sh,fixme.sh,htmllint.sh,pkgconfig.sh,tests.sh,xm
|
||||||
[clint.log]
|
[clint.log]
|
||||||
type=script
|
type=script
|
||||||
script=./clint.sh
|
script=./clint.sh
|
||||||
|
enabled=0
|
||||||
depends=clint.sh
|
depends=clint.sh
|
||||||
|
|
||||||
[fixme.log]
|
[fixme.log]
|
||||||
|
@ -21,6 +22,7 @@ depends=fixme.sh
|
||||||
[htmllint.log]
|
[htmllint.log]
|
||||||
type=script
|
type=script
|
||||||
script=./htmllint.sh
|
script=./htmllint.sh
|
||||||
|
enabled=0
|
||||||
depends=htmllint.sh
|
depends=htmllint.sh
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
|
@ -31,6 +33,7 @@ ldflags=-ldl
|
||||||
[tests.log]
|
[tests.log]
|
||||||
type=script
|
type=script
|
||||||
script=./tests.sh
|
script=./tests.sh
|
||||||
|
enabled=0
|
||||||
depends=pkgconfig.sh,$(OBJDIR)plugins$(EXEEXT),$(OBJDIR)vfs$(EXEEXT),tests.sh
|
depends=pkgconfig.sh,$(OBJDIR)plugins$(EXEEXT),$(OBJDIR)vfs$(EXEEXT),tests.sh
|
||||||
|
|
||||||
[vfs]
|
[vfs]
|
||||||
|
@ -41,4 +44,5 @@ sources=vfs.c
|
||||||
[xmllint.log]
|
[xmllint.log]
|
||||||
type=script
|
type=script
|
||||||
script=./xmllint.sh
|
script=./xmllint.sh
|
||||||
|
enabled=0
|
||||||
depends=xmllint.sh
|
depends=xmllint.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user