[qmtest] [PATCH] report syntax error in extension classes

Mark Mitchell mark at codesourcery.com
Mon Oct 21 15:32:25 UTC 2002



--On Monday, October 21, 2002 05:14:28 PM +0400 Vladimir Prus 
<ghost at cs.msu.su> wrote:

>
> Hello,
> now, if extension class contains a syntax error, then QMTest would just
> say that this class is "not found", which makes it hard to understand
> where in extension class the syntax error is. The attaches patch fixes
> this. I'm not happy with error message formatting --- there are some
> extra newlines, but I don't know how to fix it.

Did you try the new "qmtest register" command?

This is the command used to register extension classes, and it should
already give you a traceback if your extension class is invalid.

Thanks,

-- 
Mark Mitchell                mark at codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the qmtest mailing list