Re: [cc65] testsuite results ...

From: Groepaz <>
Date: 2009-09-04 00:52:02
On Freitag 04 September 2009, Ullrich von Bassewitz wrote:
> On Thu, Sep 03, 2009 at 08:50:02PM +0200, Groepaz wrote:
> > however, using -Osir for the entire testsuite breaks something in the
> > code that looks for the next test and loads it... how annoying =P so far
> > i tracked it down to:
> >
> > 		while((mydirent=readdir(mydir))!=NULL)
> >
> > which always seems to fail
> Can you send me a piece of code that does not work, or just the compiled
> assembly? I've checked just this snippet and the code it compiles to is ok.

actually, it wasnt that... appearently making a local buffer in readdir() 
static fixed it - so the problem is probably related to that. i might try to 
come up with a little test for this later... :)

i am working on fixing that issue now so that the testsuite can also run 
with -Osir - for what i have seen till now it seems that actually a few tests 
that fail without optimizations just work fine when optimizations are 
enabled. and some others break with them :=P will add some other option to 
the testsuite so i can build everything with and without optimizations and 
update the page... sometime later this morning =)

> > (btw it would be really nice now to see the svn version in the --version
> > output, its becoming confusing already...  =D)
> Actually it does - provided that the sources are compiled from within an
> svn working directory. Unfortunately, my nightly build script does not do
> that, it compiles the sources from the source tree it packed into the
> source archive before. So it's not that I'm not working on it ...

i am always compiling from source... mmh, cant you copy the necessary file(s) 
into the source archive?


If I had to live my life again, I'd make the same mistakes, only sooner. 
<Tallulah Bankhead>

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Sep 4 00:52:09 2009

This archive was generated by hypermail 2.1.8 : 2009-09-04 00:52:11 CEST