On Jul 6, 2006, at 1:48 PM, FX Coudert wrote:
I'd like to be able to check that this code indeed issue the error message on stderr and indicate to dejagnu that non-zero exit codes does not mean that the test FAILed). How can I do that?
There are two strategies, first would be to write a driver for it. If you check out *.exp, you can find many examples of drivers, though, none are likely to do just what you want. The second way would be to extend the semantics of an existing driver to do what you want. The downsides to the second approach would be causing a slowdown of the entire rest of the testsuite if done poorly and needing to require a new version of dejagnu, if you had to modify a driver from it. I don't think the existing drivers have a way to do this.