mirror of
https://github.com/forth-ev/VolksForth.git
synced 2024-11-25 10:30:57 +00:00
Fork test-kernel off test-min, and enhance by tests coreplus and coreext.
Unclear why kernel.com doesn't contain double words 2*, 2/ etc.
This commit is contained in:
parent
9227d0a855
commit
d0b5356988
@ -155,14 +155,15 @@ $(cpmfilesdir)/v4th3.com: \
|
|||||||
|
|
||||||
test-kernel.log: \
|
test-kernel.log: \
|
||||||
$(patsubst %, $(cpmfilesdir)/%, kernel.com fileint.fb \
|
$(patsubst %, $(cpmfilesdir)/%, kernel.com fileint.fb \
|
||||||
include.fb log2file.fb \
|
include.fb log2file.fb core.fr) \
|
||||||
ans-shim.fth prelim.fth tester.fth core.fr test-min.fth) \
|
$(patsubst tests/%, $(cpmfilesdir)/%, $(wildcard tests/*.fth)) \
|
||||||
| emu
|
| emu
|
||||||
./emulator/run-in-runcpm.sh \
|
./emulator/run-in-runcpm.sh \
|
||||||
"kernel fileint.fb" \
|
"kernel fileint.fb" \
|
||||||
"1 load onlyforth" \
|
"1 load onlyforth" \
|
||||||
|
"$50 constant /tib" \
|
||||||
"include include.fb" \
|
"include include.fb" \
|
||||||
"include test-min.fth" \
|
"include test-krn.fth" \
|
||||||
"bye" \
|
"bye" \
|
||||||
"exit"
|
"exit"
|
||||||
dos2unix -n $(runcpmdir)/logfile.txt $@
|
dos2unix -n $(runcpmdir)/logfile.txt $@
|
||||||
@ -241,7 +242,8 @@ test3.golden: $(patsubst %, tests/golden/%.golden, \
|
|||||||
prelim core coreplus coreext doubltst report-noblk)
|
prelim core coreplus coreext doubltst report-noblk)
|
||||||
cat $^ > $@
|
cat $^ > $@
|
||||||
|
|
||||||
test-kernel.golden: $(patsubst %, tests/golden/%.golden, prelim core)
|
test-kernel.golden: $(patsubst %, tests/golden/%.golden, \
|
||||||
|
prelim core coreplus coreext report-nodbl)
|
||||||
cat $^ > $@
|
cat $^ > $@
|
||||||
|
|
||||||
%.golden: tests/golden/%.golden
|
%.golden: tests/golden/%.golden
|
||||||
|
22
8080/CPM/tests/golden/report-nodbl.golden
Normal file
22
8080/CPM/tests/golden/report-nodbl.golden
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
---------------------------
|
||||||
|
Error Report
|
||||||
|
Word Set Errors
|
||||||
|
---------------------------
|
||||||
|
Core 0
|
||||||
|
Core extension 0
|
||||||
|
Block -
|
||||||
|
Double number -
|
||||||
|
Exception -
|
||||||
|
Facility -
|
||||||
|
File-access -
|
||||||
|
Locals -
|
||||||
|
Memory-allocation -
|
||||||
|
Programming-tools -
|
||||||
|
Search-order -
|
||||||
|
String -
|
||||||
|
---------------------------
|
||||||
|
Total 0
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
|
22
8080/CPM/tests/test-krn.fth
Normal file
22
8080/CPM/tests/test-krn.fth
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
include log2file.fb
|
||||||
|
logopen
|
||||||
|
|
||||||
|
include ans-shim.fth
|
||||||
|
: \vf [compile] \ ; immediate
|
||||||
|
|
||||||
|
include prelim.fth
|
||||||
|
include tester.fth
|
||||||
|
|
||||||
|
\ 1 verbose !
|
||||||
|
include core.fr
|
||||||
|
include coreplus.fth
|
||||||
|
|
||||||
|
include util.fth
|
||||||
|
include errorrep.fth
|
||||||
|
|
||||||
|
include coreext.fth
|
||||||
|
|
||||||
|
REPORT-ERRORS
|
||||||
|
|
||||||
|
logclose
|
Loading…
Reference in New Issue
Block a user