Re: Why not add tests order control to Dejagnu, I find a way.

2006-12-14 Thread wenbo.yang
> > One thing we could easily change is to move the existing sorting > operation into proc find. Then you could override proc find in your > site.exp to return the *.exp files in any order you like. > > Does this seem reasonable? > > Ben > I am sorry Ben. Could you please tell me how to overr

Re: Why not add tests order control to Dejagnu, I find a way.

2006-12-14 Thread wenbo.yang
> > One thing we could easily change is to move the existing sorting > operation into proc find. Then you could override proc find in your > site.exp to return the *.exp files in any order you like. > > Does this seem reasonable? > > Ben Yes. I am sorry I don't know I can override proc in my s

Re: Why not add tests order control to Dejagnu, I find a way.

2006-12-14 Thread Ben Elliston
> You now have a sequence: 01.exp,02.exp,03.exp,04.exp. But mybe at > one point you have follow another order > 03.exp,01.exp,04.exp,02.exp. You must change the whole directory > tree, at most times, it is not really you want. One thing we could easily change is to move the existing sorting operat

Re: hello world

2006-12-14 Thread Rob Savoye
deckrider wrote: > I'm having difficulty getting the simplest hello world example to > pass, using the following, copied straight from the manual (I added > the 'default' so I can get an idea as to when it fails): Try using one of the examples in the source tree, I'm not sure if the manual is 10

Re: Why not add tests order control to Dejagnu, I find a way.

2006-12-14 Thread wenbo.yang
But even if you call files and directories by sequential numbers, you can not test it crossingly( I do not know if this word is proper.) I mean, take a case for example. You have a directory tree like that: 01_xx/01_yy/01.exp 01_xx/02_zz/02.exp 02_aa/01_bb/03.exp 02_aa/02_cc/04.exp You now have

Re: Why not add tests order control to Dejagnu, I find a way.

2006-12-14 Thread Stefan Reinauer
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [061214 05:28]: > My work needs to test some cases before others, but I found Dejagnu didn't > support it. It tests cases according to their directory order only. So > I modified runtest.exp to achieve my tests order control. My code is not very > mature, but