Re: Is it done?

Kevin Reid <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
On Dec 31, 2007, at 20:51, Mark Miller wrote:

>> That's the report that some tests failed. The backtrace is  
>> irrelevant; just look at the preceding output.
>
> Attached is the output of "./clrune --selftest".
>
> When I just do a ./clrune I get the following
> ...
>   a 0 size list doesn't match a >= 1 size list pattern

This is expected; it's simpleRuneAuthor.emaker failing to get the one  
argument (script file path) it expects. This clearly ought to be  
fixed. I'll work on that next.

> (mismatch (file #P"/Users/erights/svn-other/e-on-cl/tests/ 
> numbers.updoc")
>           (source "def x := 2.0 ** -0.5")
>           (expects ("value" "0.7071067811865476"))
>           (instead ("value" "0.7071067811865475")) (opt-backtrace  
> nil))

This is the floating-point problem I mentioned. I believe that  
0.7071067811865475 is actually the correct answer; please verify this.

> (mismatch (file #P"/Users/erights/svn-other/e-on-cl/tests/ 
> parser.updoc")
>           (source "def makeLALR1Parser := <parser:makeLALR1Parser>")
>           (expects ("value" "<makeLALR1Parser>"))
>           (instead
>            ("problem" "<missing-component: component \"yacc\" not  
> found>"))
>           (opt-backtrace
>            ...))

Use asdf-install to install "yacc".

> (mismatch (file #P"/Users/erights/svn-other/e-on-cl/tests/ 
> socket.updoc")
>           (source "socket")
>           (expects
>            ("value" "<internet stream socket connected to  
> 127.0.0.1:80>"))
>           (instead
>            ("value"
>             "<internet stream socket connected to problem: <not- 
> connected-error: Socket error in \"getpeername\": ENOTCONN (Socket  
> is not connected)>>"))
>           (opt-backtrace nil))

This (and the immediately following errors) is a deficiency in the  
tests; they assume that 127.0.0.1:80 is a HTTP server.

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.