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

2006-12-18 Thread wenbo.yang
Hi Markus: > So a file like the mentioned 'priority.seq' would be a good idea. I think of > a kind of lock file. ('.lock' or whatever). > If it exists only the '.exp'-files mentioned in it are executed. You could > easily use it then for bug fixing then. DejaGnu can do ".exp" file list by "runt

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 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

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

2006-12-13 Thread wenbo.yang
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 it is a way. So I think this feature is valueable to some pe