tests: create an explicit rule to perform tests
This commit is contained in:
parent
41745d5abb
commit
030ddbabfc
|
@ -24,7 +24,7 @@ title=Release
|
|||
#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/htmllint.log" "$(OBJDIR)tests/tests.log" "$(OBJDIR)tests/xmllint.log"; else $(MAKE) fixme.log htmllint.log tests.log xmllint.log; fi)
|
||||
depends=all
|
||||
enabled=0
|
||||
phony=1
|
||||
|
|
|
@ -32,35 +32,39 @@ sources=applets2.c
|
|||
[fixme.log]
|
||||
type=script
|
||||
script=./fixme.sh
|
||||
enabled=0
|
||||
depends=fixme.sh
|
||||
enabled=0
|
||||
|
||||
[htmllint.log]
|
||||
type=script
|
||||
script=./htmllint.sh
|
||||
depends=htmllint.sh
|
||||
enabled=0
|
||||
|
||||
[tests.log]
|
||||
type=script
|
||||
script=./tests.sh
|
||||
depends=$(OBJDIR)applets$(EXEEXT),$(OBJDIR)applets2$(EXEEXT),tests.sh,$(OBJDIR)user$(EXEEXT),$(OBJDIR)wpa_supplicant$(EXEEXT)
|
||||
enabled=0
|
||||
|
||||
[user]
|
||||
type=binary
|
||||
sources=user.c
|
||||
|
||||
[user.c]
|
||||
depends=../src/applets/user.c
|
||||
|
||||
[wpa_supplicant]
|
||||
type=binary
|
||||
ldflags=-L../src -L$(OBJDIR). -Wl,-rpath,$(PREFIX)/lib -lPanel
|
||||
sources=wpa_supplicant.c
|
||||
|
||||
[wpa_supplicant.c]
|
||||
depends=../src/applets/wpa_supplicant.c
|
||||
|
||||
[xmllint.log]
|
||||
type=script
|
||||
script=./xmllint.sh
|
||||
depends=xmllint.sh
|
||||
enabled=0
|
||||
|
||||
#sources
|
||||
[user.c]
|
||||
depends=../src/applets/user.c
|
||||
|
||||
[wpa_supplicant.c]
|
||||
depends=../src/applets/wpa_supplicant.c
|
||||
|
|
Loading…
Reference in New Issue
Block a user