* [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 it is a way. So I think this feature is valueable to some people 
> of
> special requests, why not add it to Dejagnu framework?
>  
> Explanation of my method:
>  
> If there exists file "priority.seq" in test source directory, test cases
> specified in that file will be done first and orderly. After done them, others
> should be done. Here is an example content of "priority.seq":
>  
> third/third.exp
> ./second/second.exp
> ./first/first.exp
 
This sounds interesting! To work around this "shortcoming" I was writing
all tests that require sequential execution into a single file. Another
method might be to call files and directories 01_*, 02_* ...


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED]  • http://www.coresystems.de/


_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
http://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to