Include tools/tests/shell/test.cfs in repo

The order in which cfspack includes its file depend on the platform. To have
tests that reliably pass, test.cfs has to be committed in.
This commit is contained in:
Virgil Dupras 2019-12-12 14:42:23 -05:00
parent 9ab292a6d5
commit c002c69208
4 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,5 @@
EMULDIR = ../emul EMULDIR = ../emul
CFSPACK = ../cfspack/cfspack
.PHONY: run .PHONY: run
run: run:
@ -6,3 +7,10 @@ run:
cd unit && ./runtests.sh cd unit && ./runtests.sh
cd zasm && ./runtests.sh cd zasm && ./runtests.sh
cd shell && ./runtests.sh cd shell && ./runtests.sh
$(CFSPACK):
$(MAKE) -C ../cfspack
.PHONY: cfs
cfs: $(CFSPACK)
$(CFSPACK) shell/cfsin > shell/test.cfs

View File

@ -1 +0,0 @@
/test.cfs

View File

@ -17,8 +17,6 @@ replay() {
fi fi
} }
../../cfspack/cfspack cfsin > test.cfs
if [ ! -z $1 ]; then if [ ! -z $1 ]; then
replay $1 replay $1
exit 0 exit 0

BIN
tools/tests/shell/test.cfs Normal file

Binary file not shown.