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:
Philip Zembrod 2024-11-10 08:41:50 +01:00
parent 9227d0a855
commit d0b5356988
3 changed files with 50 additions and 4 deletions

View File

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

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

View 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