-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathconftest.toml
More file actions
57 lines (52 loc) · 1.9 KB
/
Copy pathconftest.toml
File metadata and controls
57 lines (52 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[settings]
tags_dir = '../../../com.oracle.graal.python.test/src/tests/unittest_tags'
new_worker_per_file = true
[[test_rules]]
# The pure-Python JSON recursion tests rely on the VM stack overflow being converted to
# RecursionError. The standalone's normal 16 MiB worker stack is too large on Windows.
# The runner collects test_json as a package, so this is the narrowest configurable scope.
selector = ['test_json']
subprocess_args = ['--vm.Xss1m']
subprocess_args_on = ['win32', 'win32-github']
[[test_rules]]
# A list of tests that cannot run in parallel with other tests
serial = true
selector = [
# test_compileall tries to recompile the whole PYTHONPATH, which makes it interfere with any test that
# creates temporary py files
'test_compileall',
# test_import tests various behaviors related to __pycache__ directory,
# it can interfere with other tests that generate code
'test_import',
'test_imp',
'test_subprocess',
'test_posix',
'test_os',
'test_io',
'test_fileio',
'test_imaplib',
'test_ftplib',
'test_multiprocessing_spawn',
# trying to avoid transient issues there, not sure about the reason
'test_unittest',
'test_logging',
'test_zipfile',
# test_empty_path compares two stats of '.', which can change if another
# parallel test creates or removes cwd-relative directories.
'test_pathlib',
]
[[test_rules]]
partial_splits_individual_tests = true
selector = [
'test_multiprocessing_spawn',
'test_multiprocessing_main_handling',
'test_tarfile',
]
[[test_rules]]
exclude_on = ['graalpy', 'graalpy-github']
selector = [
# Tests for CPython-specific bytecode optimizations. Unapplicable to GraalPy and prone to breaking on random bytecode changes
'test_peepholer',
# We don't have fork, so although we pass surprisingly many tests in there, it's not going to cover anything useful
'test_multiprocessing_fork',
]