[qmtest] Re: Adding support for multiple programs per test
Andrew Funk
afunk at ll.mit.edu
Thu Sep 2 14:11:56 UTC 2004
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