[qmtest] [repost] "reload extensions" command

Mark Mitchell mark at codesourcery.com
Mon Jan 19 00:00:33 UTC 2004


On Tue, 2003-11-25 at 07:23, Vladimir Prus wrote:
> Hello,
> some time ago I've posted the attached message, which contained a patch to add 
> "reload extensions" functionality to the GUI. I don't think there was any 
> response to it, so I assume the message got lost.

Hah.  And, then, it was ignored for two more months, so you may have
thought that our mail server rejected emails with the exact MD5 checksum
of your message. :-)

> Is there any chance that patch will be accepted into mainline? I've just had 
> to restart QMTest GUI after changing extension module and that's not nice ;-)

I've very nervous about this patch because module-reloading is a
dangerous thing, in general.  Supporting this would, in general, mean
that both QMTest and extension-writers need to play by very careful
rules about what modules can and cannot do.

I think I'd be happier about a "Restart QMTest" option.  I've thought
about that before, because it would not only allow reloading modules but
also would allow easier experimentation with changes to QMTest itself. 
This option would just re-exec the QMTest executable, with roughly the
same command-line options it had before, but with the HTTP server
address/port set explicitly.

What do you think of that idea?

-- 
Mark Mitchell <mark at codesourcery.com>
CodeSourcery, LLC




More information about the qmtest mailing list