This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian.curtin
Recipients brian.curtin
Date 2011-03-31.20:53:27
SpamBayes Score 5.1731524e-07
Marked as misclassified No
Message-id <1301604811.48.0.519862680053.issue11732@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-03-31 20:53:31brian.curtinsetrecipients: + brian.curtin
2011-03-31 20:53:31brian.curtinsetmessageid: <1301604811.48.0.519862680053.issue11732@psf.upfronthosting.co.za>
2011-03-31 20:53:28brian.curtinlinkissue11732 messages
2011-03-31 20:53:28brian.curtincreate