Message132699
Attached is a patch which adds skip_unless_unattended, which ideally would be used with at least test_faulthandler when running on Windows.
Running the tests on a Windows desktop results in the user having to click through Windows Error Reporting dialogs in order to continue. Build slaves disable or handle WER dialogs in order to continue running without manual intervention. The patch looks in the common registry keys [0,1] to see the status of WER and skips tests when it finds that WER is enabled and would require user intervention.
We may want to additionally hook this up to a regrtest command line parameter to override the registry setting.
Maybe there's a better name for the decorator - I'm not stuck with what I suggested. I consider build slaves as running in "unattended" mode as opposed to a human kicking off the tests.
[0] http://www.spyany.com/program/registry-disable-error-reporting.htm
[1] http://msdn.microsoft.com/en-us/library/bb513638(v=vs.85).aspx |
|
Date |
User |
Action |
Args |
2011-03-31 20:53:31 | brian.curtin | set | recipients:
+ brian.curtin |
2011-03-31 20:53:31 | brian.curtin | set | messageid: <1301604811.48.0.519862680053.issue11732@psf.upfronthosting.co.za> |
2011-03-31 20:53:28 | brian.curtin | link | issue11732 messages |
2011-03-31 20:53:28 | brian.curtin | create | |
|