On 1/28/11 11:54 AM, Janne Hakonen wrote:
> Now, when I ran these tests on Testbot using all base VMs,
the tests were run also on W2KPROSP4 and WNT4WSSP6. However, the
> function seems to buggy in those. It throws access violation
whenever it is not skipping frames.
> Is there some way I could prevent/skip these tests to be run
on Windows NT4 and 2000?
Ah, no matter, I think I've got it. Adding following lines to
start allows the tests to be skipped on NT and 2000:
__TRY
{
pRtlCaptureStackBackTrace(0, 62, callers, NULL);
}
__EXCEPT_ALL
{
win_skip("RtlCaptureStackBackTrace threw SEH exception, "
"most likely running on Windows NT or 2000\n");
return;
}
__ENDTRY
Did you try this on WindowsXP or Windows7 to make sure that the
win_skip did not function on those platforms? My understanding is
that win_skip works on all Windows platforms not just WindowsNT or
Windows2000.
Also, it is custom to mark your resubmissions with corrections as
[try x]. Makes it easier to determine what you are doing.
James McKenzie