[qmtest] Target File
Mark Mitchell
mark at codesourcery.com
Sat Jul 23 02:18:55 UTC 2005
Craig, Dave wrote:
> I ran into a problem with inundating QMTest with too much output. I had
> to write a wrapper executable for my executable that pipe the output
> from the executable through "tail -50" to see only the last fifty lines.
>
> I'm sure you could also redirect stdout/stderr in your wrapper script to
> /dev/null. You'll just need to exit with the exit code returned from
> the wrapped executable to make sure pass/fail works ok.
The other approach would be to create a derived test class that
overrides ExecTestBase.ValidateOutput.
--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304
More information about the qmtest
mailing list