Browse Source

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.
pull/85/head
Virgil Dupras 4 years ago
parent
commit
c002c69208
4 changed files with 8 additions and 3 deletions
  1. +8
    -0
      tools/tests/Makefile
  2. +0
    -1
      tools/tests/shell/.gitignore
  3. +0
    -2
      tools/tests/shell/runtests.sh
  4. BIN
      tools/tests/shell/test.cfs

+ 8
- 0
tools/tests/Makefile View File

@@ -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

+ 0
- 1
tools/tests/shell/.gitignore View File

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

+ 0
- 2
tools/tests/shell/runtests.sh View File

@@ -17,8 +17,6 @@ replay() {
fi
}

../../cfspack/cfspack cfsin > test.cfs

if [ ! -z $1 ]; then
replay $1
exit 0


BIN
tools/tests/shell/test.cfs View File


Loading…
Cancel
Save