summaryrefslogtreecommitdiff
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorGuilherme Polo <ggpolo@gmail.com>2009-01-28 20:03:26 +0000
committerGuilherme Polo <ggpolo@gmail.com>2009-01-28 20:03:26 +0000
commitb1a98de25ecd3e11fc3093de31fe844233dcd389 (patch)
treee83a0f041b477ff329c247081814f4455d41d182 /Lib/test/regrtest.py
parent6d51f12c5ee76eea5f1edf1701a07e6640b30563 (diff)
downloadcpython-git-b1a98de25ecd3e11fc3093de31fe844233dcd389.tar.gz
Issue #5083: New 'gui' resource for regrtest.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index faa308c81f..5c91dc3a77 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -116,6 +116,8 @@ resources to test. Currently only the following are defined:
urlfetch - It is okay to download files required on testing.
+ gui - Run tests that require a running GUI.
+
To enable all resources except one, use '-uall,-<resource>'. For
example, to run all the tests except for the bsddb tests, give the
option '-uall,-bsddb'.
@@ -168,7 +170,7 @@ if sys.platform == 'darwin':
from test import test_support
RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb',
- 'decimal', 'compiler', 'subprocess', 'urlfetch')
+ 'decimal', 'compiler', 'subprocess', 'urlfetch', 'gui')
def usage(code, msg=''):