forked from oracle/graalpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconftest.toml
More file actions
49 lines (45 loc) · 1.61 KB
/
conftest.toml
File metadata and controls
49 lines (45 loc) · 1.61 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
[settings]
tags_dir = '../../../com.oracle.graal.python.test/src/tests/unittest_tags'
new_worker_per_file = true
[[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',
'test_multiprocessing_graalpy',
# trying to avoid transient issues there, not sure about the reason
'test_unittest',
'test_logging',
'test_zipfile',
]
[[test_rules]]
partial_splits_individual_tests = true
selector = [
'test_multiprocessing_spawn',
'test_multiprocessing_main_handling',
]
[[test_rules]]
exclude_on = ['graalpy']
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',
# Transiently fails with java.lang.IllegalStateException: There is an active child contexts after finalizeContext!
# when the runner exits. We don't know which tests can trigger this, so we exclude the whole file.
'test_multiprocessing_graalpy',
]