Skip to content

Commit 9173ecf

Browse files
committed
Exclude test_multiprocessing_fork and test_peepholer
1 parent d1c1309 commit 9173ecf

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

graalpython/lib-python/3/test/conftest.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,13 @@ selector = [
3636
'test_multiprocessing_spawn',
3737
'test_multiprocessing_main_handling',
3838
]
39+
40+
41+
[[test_rules]]
42+
exclude_on = ['graalpy']
43+
selector = [
44+
# Tests for CPython-specific bytecode optimizations. Unapplicable to GraalPy and prone to breaking on random bytecode changes
45+
'test_peepholer',
46+
# We don't have fork, so although we pass surprisingly many tests in there, it's not going to cover anything useful
47+
'test_multiprocessing_fork',
48+
]

mx.graalpython/mx_graalpython.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,6 @@ def update_unittest_tags(args):
519519
darwin_tags = _fetch_tags_for_platform(parsed_args, 'darwin')
520520

521521
tag_exclusions = [
522-
# Tests for bytecode optimizations. We don't have the same bytecode, ignore the whole suite
523-
'graalpython.lib-python.3.test.test_peepholer.*',
524522
# This test times out in the gate even though it succeeds locally and in the retagger. Race condition?
525523
'graalpython.lib-python.3.test.test_cprofile.CProfileTest.test_run_profile_as_module',
526524
# The following two try to read bytecode and fail randomly as our co_code is changing

0 commit comments

Comments
 (0)