diff --git a/tools/tests/Makefile b/tools/tests/Makefile index e44faa9..941ce75 100644 --- a/tools/tests/Makefile +++ b/tools/tests/Makefile @@ -1,4 +1,5 @@ EMULDIR = ../emul +CFSPACK = ../cfspack/cfspack .PHONY: run run: @@ -6,3 +7,10 @@ run: cd unit && ./runtests.sh cd zasm && ./runtests.sh cd shell && ./runtests.sh + +$(CFSPACK): + $(MAKE) -C ../cfspack + +.PHONY: cfs +cfs: $(CFSPACK) + $(CFSPACK) shell/cfsin > shell/test.cfs diff --git a/tools/tests/shell/.gitignore b/tools/tests/shell/.gitignore deleted file mode 100644 index c58b0ca..0000000 --- a/tools/tests/shell/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/test.cfs diff --git a/tools/tests/shell/runtests.sh b/tools/tests/shell/runtests.sh index c583734..0972641 100755 --- a/tools/tests/shell/runtests.sh +++ b/tools/tests/shell/runtests.sh @@ -17,8 +17,6 @@ replay() { fi } -../../cfspack/cfspack cfsin > test.cfs - if [ ! -z $1 ]; then replay $1 exit 0 diff --git a/tools/tests/shell/test.cfs b/tools/tests/shell/test.cfs new file mode 100644 index 0000000..f9fb1b6 Binary files /dev/null and b/tools/tests/shell/test.cfs differ