diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-09-05 17:56:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 17:56:30 +0300 |
commit | 1e0d62793a84001e92f1c80b511d3a212b435acc (patch) | |
tree | 0735827fe13611176e9dc41cdacde06dba79be7b /Lib/test/libregrtest/cmdline.py | |
parent | f980cc19b9cafc09ef21e906871f810a1c89e62f (diff) | |
download | cpython-1e0d62793a84001e92f1c80b511d3a212b435acc.tar.gz cpython-1e0d62793a84001e92f1c80b511d3a212b435acc.zip |
gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480)
Diffstat (limited to 'Lib/test/libregrtest/cmdline.py')
-rw-r--r-- | Lib/test/libregrtest/cmdline.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/libregrtest/cmdline.py b/Lib/test/libregrtest/cmdline.py index 251fcacb1d1..d1a590d8c1a 100644 --- a/Lib/test/libregrtest/cmdline.py +++ b/Lib/test/libregrtest/cmdline.py @@ -107,6 +107,8 @@ resources to test. Currently only the following are defined: cpu - Used for certain CPU-heavy tests. + walltime - Long running but not CPU-bound tests. + subprocess Run all tests for the subprocess module. urlfetch - It is okay to download files required on testing. @@ -129,7 +131,7 @@ Pattern examples: ALL_RESOURCES = ('audio', 'curses', 'largefile', 'network', - 'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui') + 'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui', 'walltime') # Other resources excluded from --use=all: # |