[qmtest] Re: Adding support for multiple programs per test

Abhijeet Bisain abisain at qualcomm.com
Thu Sep 2 19:37:48 UTC 2004


Thanks for pointing out the location. I have made this change and it seems 
to be working.

In a previous email, Stefan had mentioned that there is a sql result 
stream, which I was able to find. I could also find the 
create-results-database script which is a part of the tarball, but not the 
rpm. So the SQL stream of results seems to be working. So, thanks for 
pointing it out.

The next thing I would like to have :), is to be able to store the test 
database into Postgres. I could not find a class that does this. Has anyone 
done this before?

Thanks,
Abhijeet

At 07:11 AM 9/2/2004, Andrew Funk wrote:
>Hi Abhijeet,
>
>I also wanted to do this same thing.  I created a subclass of
>ShellScriptTest and overrode qm.test.classes.ExecTestBase.RunProgram.
>I'm not sure if this is the nicest way to do it but it seemed the most
>expedient.  Another way to do it might be to specify the expected stdout
>as a regexp and override the __CompareText method...
>
>- Andy
>
> > One other thing I would like to get is to be able to specify
> > a regular
> > expression to match with the stdout, instead of an exact
> > match. So I want
> > to find a PASS anywhere in the stdout, or not find "Error"
> > anywhere in the
> > output etc.




More information about the qmtest mailing list