[e-lang] Is it done?
Kevin Reid
kpreid at mac.com
Tue Jan 1 00:54:38 EST 2008
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/>
More information about the e-lang
mailing list