dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Reinauer
Subject: Re: Why not add tests order control to Dejagnu, I find a way.
Date: Thu, 14 Dec 2006 10:36:07 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* address@hidden <address@hidden> [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: address@hidden  • http://www.coresystems.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]