• Home
  • Raw
  • Download

Lines Matching +full:- +full:uall

8 python -m test [options] [test_name1 [test_name2 ...]]
17 them in alphabetical order (but see -M and -u, below, for exceptions).
22 python -E -Wd -m test [options] [test_name1 ...]
28 -r randomizes test execution order. You can use --randseed=int to provide an
32 -s On the first invocation of regrtest using -s, the first test file found
41 consume too many resources to run the full regression test non-stop.
43 -S is used to continue running tests after an aborted run. It will
44 maintain the order a standard run (ie, this assumes -r is not used).
49 -f reads the names of tests from the file given as f's argument, one
54 -L causes the leaks(1) command to be run just before exit if it exists.
56 FreeBSD-derived systems.
58 -R runs each test several times and examines sys.gettotalrefcount() to
64 "reflog.txt" respectively), and the minimal invocation is '-R :'.
66 -M runs tests that require an exorbitant amount of memory. These tests
68 2 billion objects, which only works on 64-bit systems. There are also some
70 sense on 32-bit systems with at least 2Gb of memory. The passed-in memlimit,
78 to use more than memlimit memory will be skipped. The big-memory tests
81 -u is used to specify which special resource intensive tests to run,
83 The argument is a comma-separated list of words indicating the
86 all - Enable all special resources.
88 none - Disable all special resources (this is the default).
90 audio - Tests that use the audio device. (There are known
94 curses - Tests that use curses and will modify the terminal's
97 largefile - It is okay to run some test that may create huge
101 network - It is okay to run tests that use external network
104 decimal - Test the decimal module against a large suite that
107 cpu - Used for certain CPU-heavy tests.
111 urlfetch - It is okay to download files required on testing.
113 gui - Run tests that require a running GUI.
115 tzdata - Run tests that require timezone data.
117 To enable all resources except one, use '-uall,-<resource>'. For
119 option '-uall,-gui'.
121 --matchfile filters tests using a text file, one pattern per line.
124 - test method: test_stat_attributes
125 - test class: FileTests
126 - test identifier: test_os.FileTests.test_stat_attributes
133 # Other resources excluded from --use=all:
135 # - extralagefile (ex: test_zipfile64): really too slow to be enabled
137 # - tzdata: while needed to validate fully test_datetime, it makes
138 # test_datetime too slow (15-20 min on some buildbots) and so is disabled by
139 # default (see bpo-30822).
145 super().error(message + "\nPass -h or --help for complete help.")
150 # error messages when using "python -m test ...".
164 group.add_argument('-h', '--help', action='help',
166 group.add_argument('--timeout', metavar='TIMEOUT', type=float,
170 group.add_argument('--wait', action='store_true',
173 group.add_argument('--worker-args', metavar='ARGS')
174 group.add_argument('-S', '--start', metavar='START',
179 group.add_argument('-v', '--verbose', action='count',
181 group.add_argument('-w', '--verbose2', action='store_true',
182 help='re-run failed tests in verbose mode')
183 group.add_argument('-W', '--verbose3', action='store_true',
185 group.add_argument('-q', '--quiet', action='store_true',
187 group.add_argument('-o', '--slowest', action='store_true', dest='print_slow',
189 group.add_argument('--header', action='store_true',
193 group.add_argument('-r', '--randomize', action='store_true',
195 group.add_argument('--randseed', metavar='SEED',
199 group.add_argument('-f', '--fromfile', metavar='FILE',
202 group.add_argument('-x', '--exclude', action='store_true',
204 group.add_argument('-s', '--single', action='store_true',
207 group.add_argument('-m', '--match', metavar='PAT',
210 group.add_argument('-i', '--ignore', metavar='PAT',
213 group.add_argument('--matchfile', metavar='FILENAME',
215 help='similar to --match but get patterns from a '
217 group.add_argument('--ignorefile', metavar='FILENAME',
219 help='similar to --matchfile but it receives patterns '
221 group.add_argument('-G', '--failfast', action='store_true',
222 help='fail as soon as a test fails (only with -v or -W)')
223 group.add_argument('-u', '--use', metavar='RES1,RES2,...',
227 group.add_argument('-M', '--memlimit', metavar='LIMIT',
228 help='run very large memory-consuming tests.' +
230 group.add_argument('--testdir', metavar='DIR',
236 group.add_argument('-l', '--findleaks', action='store_const', const=2,
238 help='deprecated alias to --fail-env-changed')
239 group.add_argument('-L', '--runleaks', action='store_true',
242 group.add_argument('-R', '--huntrleaks', metavar='RUNCOUNTS',
246 group.add_argument('-j', '--multiprocess', metavar='PROCESSES',
249 group.add_argument('-T', '--coverage', action='store_true',
253 group.add_argument('-D', '--coverdir', metavar='DIR',
256 group.add_argument('-N', '--nocoverdir',
259 group.add_argument('-t', '--threshold', metavar='THRESHOLD',
262 group.add_argument('-n', '--nowindows', action='store_true',
264 group.add_argument('-F', '--forever', action='store_true',
266 'error happens; imply --failfast')
267 group.add_argument('--list-tests', action='store_true',
270 group.add_argument('--list-cases', action='store_true',
273 group.add_argument('-P', '--pgo', dest='pgo', action='store_true',
275 group.add_argument('--pgo-extended', action='store_true',
277 group.add_argument('--fail-env-changed', action='store_true',
281 group.add_argument('--junit-xml', dest='xmlpath', metavar='FILENAME',
282 help='writes JUnit-style XML results to the specified '
284 group.add_argument('--tempdir', metavar='PATH',
286 group.add_argument('--cleanup', action='store_true',
301 'needs 2 or 3 colon-separated arguments')
313 if r[0] == '-':
342 if arg.startswith('-'):
347 # --findleaks implies --fail-env-changed
350 parser.error("-s and -f don't go together!")
352 parser.error("-T and -j don't go together!")
354 parser.error("-G/--failfast needs either -v or -W")
356 parser.error("--pgo/-v don't go together!")
361 print("Warning: the --nowindows (-n) option is deprecated. "
362 "Use -vv to display assertions in stderr.", file=sys.stderr)
383 if r[0] == '-':
397 print("WARNING: Disable --verbose3 because it's incompatible with "
398 "--huntrleaks: see http://bugs.python.org/issue27103",
413 # --forever implies --failfast