diff options
author | Guilherme Polo <ggpolo@gmail.com> | 2009-01-28 20:03:26 +0000 |
---|---|---|
committer | Guilherme Polo <ggpolo@gmail.com> | 2009-01-28 20:03:26 +0000 |
commit | b1a98de25ecd3e11fc3093de31fe844233dcd389 (patch) | |
tree | e83a0f041b477ff329c247081814f4455d41d182 /Lib/test/regrtest.py | |
parent | 6d51f12c5ee76eea5f1edf1701a07e6640b30563 (diff) | |
download | cpython-git-b1a98de25ecd3e11fc3093de31fe844233dcd389.tar.gz |
Issue #5083: New 'gui' resource for regrtest.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 4 |
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=''): |