Boost logo

Boost Testing :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-02-27 10:08:18


Jim Douglas wrote:
> Aleksey Gurtovoy wrote:
>> Jim Douglas writes:
>>
>>> It appears that the monitored/timeout facility built into regression.py
>>> is not sophisticated enough to catch a stalled process(?)
>>
>> It is, but as per
>> http://engineering.meta-comm.com/regression_setup/instructions.html#monitored
>> (the last note), the functionality is currently Windows-only.
>>
> I can't speak for other OSs, but in QNX it would be simple. A
> supervisory process running in parallel with the test process, and at a
> very high priority, can monitor execution (say every second) and 'kill'
> it in the event of a time overrun.
>
> It would make even more sense if it was the monitor process that
> launched the test process.
>
> Just a thought...

There's a bjam option intended to do just that "-l n". But I've only had
the time, and no one else has volunteered, to implement it on Windows.
The *nix implementation would be simpler than what you explain though ;-)

--
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost-testing list run by mbergal at meta-comm.com