|
Boost Testing : |
From: Jim Douglas (jim_at_[hidden])
Date: 2006-02-27 05:54:46
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...
Jim