Import the "clint" and "fixme" tests from DeforaOS configure

This commit is contained in:
Pierre Pronchery 2020-11-18 23:55:49 +01:00
parent 963383c20e
commit 8a8ffd2acd
3 changed files with 17 additions and 3 deletions

View File

@ -10,7 +10,7 @@ dist=Makefile,config.h,config.sh
#targets
[tests]
type=command
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/embedded.log"; else $(MAKE) embedded.log; fi)
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/embedded.log" "$(OBJDIR)tests/fixme.log"; else $(MAKE) clint.log embedded.log fixme.log; fi)
depends=all
enabled=0
phony=1

2
tests/.gitignore vendored
View File

@ -1 +1,3 @@
/clint.log
/embedded.log
/fixme.log

View File

@ -1,9 +1,21 @@
targets=embedded.log
dist=Makefile,embedded.sh
targets=clint.log,embedded.log,fixme.log
dist=Makefile,clint.sh,embedded.sh,fixme.sh
#targets
[clint.log]
type=script
script=./clint.sh
depends=clint.sh,$(OBJDIR)../src/presenter
enabled=0
[embedded.log]
type=script
script=./embedded.sh
depends=embedded.sh,$(OBJDIR)../src/presenter
enabled=0
[fixme.log]
type=script
script=./fixme.sh
depends=fixme.sh,$(OBJDIR)../src/presenter
enabled=0