Skip to content

Commit dea1483

Browse files
committed
Bytecode DSL: ignore tracing related tests
1 parent aa3eebf commit dea1483

File tree

11 files changed

+10
-601
lines changed

11 files changed

+10
-601
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_pdb.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0
@@ -37,8 +37,10 @@
3737
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3838
# SOFTWARE.
3939

40+
import os
4041
import doctest
4142
import sys
43+
import unittest
4244

4345

4446
# Copied from test_doctest
@@ -68,6 +70,7 @@ def __exit__(self, *exc):
6870
sys.settrace(self.orig_trace)
6971

7072

73+
@unittest.skipIf(os.environ.get('BYTECODE_DSL_INTERPRETER'), "TODO: FrameSlotTypeException with reparsing")
7174
def doctest_pdb_locals():
7275
"""
7376
Test that locals get synced after breakpoint
@@ -98,6 +101,7 @@ def doctest_pdb_locals():
98101
"""
99102

100103

104+
@unittest.skipIf(os.environ.get('BYTECODE_DSL_INTERPRETER'), "TODO: FrameSlotTypeException with reparsing")
101105
def doctest_pdb_locals_generator():
102106
"""
103107
Test that locals get synced after breakpoint in a generator
@@ -128,6 +132,7 @@ def doctest_pdb_locals_generator():
128132
"""
129133

130134

135+
@unittest.skipIf(os.environ.get('BYTECODE_DSL_INTERPRETER'), "TODO: FrameSlotTypeException with reparsing")
131136
def doctest_pdb_locals_sync_back():
132137
"""
133138
Test that locals set by debugger get propagated back into the frame.
@@ -153,5 +158,6 @@ def doctest_pdb_locals_sync_back():
153158
"""
154159

155160

161+
@unittest.skipIf(os.environ.get('BYTECODE_DSL_INTERPRETER'), "TODO: FrameSlotTypeException with reparsing")
156162
def test_run_doctests():
157163
doctest.testmod(sys.modules[__name__], raise_on_error=True)

graalpython/com.oracle.graal.python.test/src/tests/test_sys_settrace.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0
@@ -37,6 +37,7 @@
3737
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3838
# SOFTWARE.
3939

40+
import os
4041
import unittest
4142
import difflib
4243
import sys
@@ -160,6 +161,7 @@ def test_case(self):
160161
return test_case
161162

162163

164+
@unittest.skipIf(os.environ.get('BYTECODE_DSL_INTERPRETER'), "TODO: FrameSlotTypeException with reparsing")
163165
class TraceTests(unittest.TestCase):
164166
def trace(self, frame, event, arg):
165167
code = frame.f_code

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags_bytecode_dsl/test_asyncio.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ test.test_asyncio.test_streams.StreamTests.test___repr__nondefault_limit @ linux
404404
test.test_asyncio.test_streams.StreamTests.test___repr__transport @ linux-x86_64
405405
test.test_asyncio.test_streams.StreamTests.test___repr__waiter @ linux-x86_64
406406
test.test_asyncio.test_streams.StreamTests.test_exception @ linux-x86_64
407-
test.test_asyncio.test_streams.StreamTests.test_exception_cancel @ linux-x86_64
408407
test.test_asyncio.test_streams.StreamTests.test_feed_empty_data @ linux-x86_64
409408
test.test_asyncio.test_streams.StreamTests.test_feed_nonempty_data @ linux-x86_64
410409
test.test_asyncio.test_streams.StreamTests.test_invalid_limit @ linux-x86_64

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags_bytecode_dsl/test_cprofile.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags_bytecode_dsl/test_multiprocessing_spawn.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_as
9393
test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_chunksize @ linux-x86_64
9494
test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_handle_iterable_exception @ linux-x86_64
9595
test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_no_failfast @ linux-x86_64
96-
test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_map_unplicklable @ linux-x86_64
9796
test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_starmap @ linux-x86_64
9897
test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_starmap_async @ linux-x86_64
9998
test.test_multiprocessing_spawn.test_processes.WithProcessesTestPool.test_terminate @ linux-x86_64

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags_bytecode_dsl/test_pdb.txt

Lines changed: 0 additions & 44 deletions
This file was deleted.

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags_bytecode_dsl/test_sys_setprofile.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags_bytecode_dsl/test_sys_settrace.txt

Lines changed: 0 additions & 59 deletions
This file was deleted.

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags_bytecode_dsl/test_trace.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)