Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions Lib/test/regrtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,15 @@

from test import test_support

RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb',
'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui',
'xpickle')
ALL_RESOURCES = ('audio', 'curses', 'largefile', 'network', 'bsddb',
'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui',
'xpickle')

# Other resources excluded from --use=all:
#
# - extralagefile (ex: test_zipfile64): really too slow to be enabled
# "by default"
RESOURCE_NAMES = ALL_RESOURCES + ('extralargefile',)

TEMPDIR = os.path.abspath(tempfile.gettempdir())

Expand Down Expand Up @@ -420,7 +426,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
u = [x.lower() for x in a.split(',')]
for r in u:
if r == 'all':
use_resources[:] = RESOURCE_NAMES
use_resources[:] = ALL_RESOURCES
continue
remove = False
if r[0] == '-':
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix regrtest command line parser to allow passing -u extralargefile to
run test_zipfile64.