mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
Move test/tester.fs to lib/tester.fs
This commit is contained in:
parent
b54b0e99a5
commit
01d43af26e
3 changed files with 12 additions and 1 deletions
10
lib/core.fs
10
lib/core.fs
|
@ -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
|
||||||
|
;
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue