aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/libregrtest/cmdline.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-09-05 17:56:30 +0300
committerGitHub <noreply@github.com>2023-09-05 17:56:30 +0300
commit1e0d62793a84001e92f1c80b511d3a212b435acc (patch)
tree0735827fe13611176e9dc41cdacde06dba79be7b /Lib/test/libregrtest/cmdline.py
parentf980cc19b9cafc09ef21e906871f810a1c89e62f (diff)
downloadcpython-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.py4
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:
#