[qmtest] Subclassing Executable

Mark Mitchell mark at codesourcery.com
Sun Apr 13 06:00:59 UTC 2003


On Mon, 2003-04-07 at 15:12, John Schmitt wrote:
> More questions from a wannabe-clueful user.
> 
> I tried to subclass InputExecutable to do some pretty low-tech stuff.  I
> wanted to spawn a process that would kill a test that ran too long.
> Here's the kind of thing I'm doing, with stuff snipped to keep this
> message reasonably short:

We've been meaning to add support for timeouts in process tests for a
long time.  That's now been added in the form of
executable.TimeoutExecutable, and is being used in the command.* test
classes (like command.ExecTest, and command.ShellScriptTest.)

Thanks,

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




More information about the qmtest mailing list