Move test/tester.fs to lib/tester.fs

This commit is contained in:
Koichi Nakamura 2021-01-16 18:52:47 +09:00
parent b54b0e99a5
commit 01d43af26e
3 changed files with 12 additions and 1 deletions

View file

@ -9,3 +9,13 @@ defined? roll [unless]
dup 0<= if drop else swap >r 1- recurse r> swap then dup 0<= if drop else swap >r 1- recurse r> swap then
; ;
[then] [then]
\ Ignore test codes. lib/tester.fs will redefine this when
\ running tests.
: T{
begin
word throw
s" }T" streq if exit then
again
;

View file

@ -6,7 +6,8 @@
." Running PlanckForth test programs" cr ." Running PlanckForth test programs" cr
include test/tester.fs include lib/tester.fs
include test/core.fs include test/core.fs
include test/coreplustest.fs include test/coreplustest.fs