mirror of
https://github.com/forth-ev/VolksForth.git
synced 2025-01-22 21:33:03 +00:00
Make rules to compare the content of the DOS and FORTH vocabularies
before and after the 2 recent refactorings, using v4thfile.com (volks4th.com plus include .fth interface) as reference
This commit is contained in:
parent
3e42ca8b2a
commit
22079fe734
@ -100,6 +100,63 @@ test-blk.log: \
|
||||
"include logprep.fth include test-blk.fth")
|
||||
dos2unix -n dosfiles/OUTPUT.LOG $@
|
||||
|
||||
forthblkdos: v4thblk.dos v4thblk.forth
|
||||
|
||||
forthdos: forthblkdos v4thfile.dos v4thfile.forth v4th0.dos v4th0.forth
|
||||
|
||||
v4th0.dos: \
|
||||
$(patsubst %, dosfiles/%, v4th.com $(prepfths)) \
|
||||
$(patsubst tests/%, dosfiles/%, $(wildcard tests/*.*))
|
||||
rm -f dosfiles/OUTPUT.LOG
|
||||
(cd dosfiles && ../emulator/run-in-dosbox.sh v4th.com \
|
||||
"include logprep.fth include vocdos.fth")
|
||||
dos2unix -n dosfiles/OUTPUT.LOG output.log
|
||||
tr " " "\n" <output.log | sort >$@
|
||||
|
||||
v4th0.forth: \
|
||||
$(patsubst %, dosfiles/%, v4th.com $(prepfths)) \
|
||||
$(patsubst tests/%, dosfiles/%, $(wildcard tests/*.*))
|
||||
rm -f dosfiles/OUTPUT.LOG
|
||||
(cd dosfiles && ../emulator/run-in-dosbox.sh v4th.com \
|
||||
"include logprep.fth include vocforth.fth")
|
||||
dos2unix -n dosfiles/OUTPUT.LOG output.log
|
||||
tr " " "\n" <output.log | sort >$@
|
||||
|
||||
v4thblk.dos: \
|
||||
$(patsubst %, dosfiles/%, v4thblk.com $(prepfths)) \
|
||||
$(patsubst tests/%, dosfiles/%, $(wildcard tests/*.*))
|
||||
rm -f dosfiles/OUTPUT.LOG
|
||||
(cd dosfiles && ../emulator/run-in-dosbox.sh v4thblk.com \
|
||||
"include logprep.fth include vocdos.fth")
|
||||
dos2unix -n dosfiles/OUTPUT.LOG output.log
|
||||
tr " " "\n" <output.log | sort >$@
|
||||
|
||||
v4thblk.forth: \
|
||||
$(patsubst %, dosfiles/%, v4thblk.com $(prepfths)) \
|
||||
$(patsubst tests/%, dosfiles/%, $(wildcard tests/*.*))
|
||||
rm -f dosfiles/OUTPUT.LOG
|
||||
(cd dosfiles && ../emulator/run-in-dosbox.sh v4thblk.com \
|
||||
"include logprep.fth include vocforth.fth")
|
||||
dos2unix -n dosfiles/OUTPUT.LOG output.log
|
||||
tr " " "\n" <output.log | sort >$@
|
||||
|
||||
v4thfile.dos: \
|
||||
$(patsubst %, dosfiles/%, v4thfile.com $(prepfths)) \
|
||||
$(patsubst tests/%, dosfiles/%, $(wildcard tests/*.*))
|
||||
rm -f dosfiles/OUTPUT.LOG
|
||||
(cd dosfiles && ../emulator/run-in-dosbox.sh v4thfile.com \
|
||||
"include log2file.fth include vocdos.fth")
|
||||
dos2unix -n dosfiles/OUTPUT.LOG output.log
|
||||
tr " " "\n" <output.log | sort >$@
|
||||
|
||||
v4thfile.forth: \
|
||||
$(patsubst %, dosfiles/%, v4thfile.com $(prepfths)) \
|
||||
$(patsubst tests/%, dosfiles/%, $(wildcard tests/*.*))
|
||||
rm -f dosfiles/OUTPUT.LOG
|
||||
(cd dosfiles && ../emulator/run-in-dosbox.sh v4thfile.com \
|
||||
"include log2file.fth include vocforth.fth")
|
||||
dos2unix -n dosfiles/OUTPUT.LOG output.log
|
||||
tr " " "\n" <output.log | sort >$@
|
||||
|
||||
incltest-volks4th.log: v4thfile.com tests/log2file.fb tests/incltest.fth
|
||||
rm -f OUTPUT.LOG
|
||||
|
9
8086/msdos/tests/vocdos.fth
Normal file
9
8086/msdos/tests/vocdos.fth
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
logopen output.log
|
||||
|
||||
clear
|
||||
|
||||
forth also dos words
|
||||
cr
|
||||
|
||||
logclose
|
9
8086/msdos/tests/vocforth.fth
Normal file
9
8086/msdos/tests/vocforth.fth
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
logopen output.log
|
||||
|
||||
clear
|
||||
|
||||
forth words
|
||||
cr
|
||||
|
||||
logclose
|
Loading…
x
Reference in New Issue
Block a user