[kaffe] sysdepCallMethod() tests galore

Dalibor Topic robilad@yahoo.com
Wed May 28 09:42:02 2003


--- Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> wrote:
> On Fri, 16 May 2003, Timothy Stack wrote:
> 
> > I'd like to add this to the test/internal directory, but I need to know 
> > what a correct run is supposed to look like.  Can you send what the output 
> > is supposed to look like, or better, make the test do the checks itself 
> > with assert().
> 
> OK, I updated the tests with a few checks against the returned value 
> through sysdepCallMethod, then abort() if that differs.
> 
> Steps to reproduce:
> - Kaffe is configured
> - Be in developers, and sh ./test_sysdepCallMethod.c ;-)
> - ./test_sysdepCallMethod

after the sh step, I get a ./test_sysdepCallMethod^M file. running it produces
the following message:

bash-2.05a$ ./test_sysdepCallMethod^M
# f_v_v:  => v
returns: void
returns: void
[snip]
# add_2j: j, 1, j, 2 => j
1, 2
returns: 3
8589934593, 4294967297
returns: 12884901890Aborted

I assume it may have something to do with the garbled name?

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com