[Ecls-list] Fwd: [ANNOUNCE] usocket 0.2.2

Erik Huelsmann ehuels at gmail.com
Sun Jan 14 13:25:25 UTC 2007


On 1/14/07, Juan Jose Garcia-Ripoll <jjgarcia at users.sourceforge.net> wrote:
> 2007/1/11, Erik Huelsmann <ehuels at gmail.com>:
> > After having set all the variables correctly, I get the following
> > output (stripped for clarity):
> >
> > Test USOCKET-TEST::SOCKET-CONNECT.1 failed
> > Expected value: T
> > Actual value: (#<The STANDARD-CLASS USOCKET>
> >                #<The STANDARD-CLASS STANDARD-OBJECT> #<The BUILT-IN-CLASS T>).
>
> There is nothing wrong with ECL. Your test is simply assuming
> something which is not true, which is that the output of TYPEP is
> either T or NIL. When checking whether an object is of a given class,
> ECL outputs the list of parent classes. That is fully ANSI conformant:
> http://www.lisp.org/HyperSpec/Body/fun_typep.html
>
> You should correct your tests as follows. Instead of

<snip>

>
> Use

>           (and (typep sock 'usocket:usocket) t)

>
> Using this I only get two failures which are due to a different
> network configuration than yours

Great! Thanks for testing. I can now officially declare ECL supported.

bye,

Erik.




More information about the ecl-devel mailing list