[New-bugs-announce] [issue11732] Skip decorator for tests requiring manual intervention on Windows
report at bugs.python.org
Thu Mar 31 22:53:31 CEST 2011
New submission from Brian Curtin <brian at python.org>:
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.
components: Tests, Windows
stage: patch review
title: Skip decorator for tests requiring manual intervention on Windows
versions: Python 3.3
Added file: http://bugs.python.org/file21493/unattended_decorator.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce