Hi

> interestingly, this behaviour repeats when running the same test
> again.
> Looking at the code makes "depth" or the handling of depth a
> candidate
> for misbehaving, however, I did not look too deep.
> 
> Can anyone confirm?

freshly flashed and loaded

(ATmega16)> -1 VERBOSE !
 ok
(ATmega16)> t{ -1 -> -1 }t
 ok
(ATmega16)> 1 2 3
 ok
(ATmega16)> t{ -1 -> -1 }t
WRONG NUMBER OF RESULTS: t{ -1 -> -1 }t
 ok
(ATmega16)> 

The problem is triggered with the additional numbers on the
data stack (1 2 3). That confuses the tester. Since the
tester code is not mine, it may take some time to debug it.


> Along the way I found this:
> > $ cat trunk/common/lib/forth2012/tester.frt
> > \ 'tester.frt' generated automatically, do not edit
> > #include  anstests.zip
> > #include  core.fr
> > #include  doubletest.fth
> > #include  searchordertest.txt
> > #include  tester-amforth.frt
> 
> which does not look right to my eyes.

Indeed. A stupid file. Removed. 

Matthias
------------------------------------------------------------------------------
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to