python3: remove obsolete musl test skipping
PATCH 1/2 python3: remove obsolete musl test skipping
Remove a number of musl-specific test skipping, these tests now skip themselves when ran with musl:
test_date_locale2 (test.test_strptime.StrptimeTests.test_date_locale2)
skipped 'musl libc issue, bpo-46390'
In core-image-ptest-python3 with musl:
== Tests result: SUCCESS ==
77 tests skipped:
...
9 tests skipped (resource denied):
...
452 tests OK.Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-devtools/python/python3_3.14.9.bb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
meta/recipes-devtools/python/python3_3.14.9.bb +1 -12
@@ -309,6 +309,7 @@ SKIPPED_TESTS += " \ " # Needs IMAGE_FEATURE += \"tools-sdk\" +# Can be removed when https://github.com/python/cpython/pull/151231 is merged SKIPPED_TESTS += " \ --ignore test_find_library_with_gcc \ --ignore test_find_library_with_ld \
@@ -356,18 +357,6 @@ SKIPPED_TESTS += " \ --ignore test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks \ " -SKIPPED_TESTS:append:libc-musl = " \ - -x test__locale \ - -x test_c_locale_coercion \ - -x test_locale \ - -x test_os test_re \ - -x test__xxsubinterpreters \ - -x test_threading \ - --ignore test.test_strptime.StrptimeTests.test_date_locale2 \ - --ignore test.test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym \ - --ignore test.test_multiprocessing_fork.test_processes.WithProcessesTestProcess.test_interrupt \ -" - # https://github.com/python/cpython/issues/159424 SKIPPED_TESTS:append:libc-musl = " \ --ignore test.test_readline.TestHistoryManipulation.test_append_limited_history \
Signature · 1 line
2.43.0
PATCH 2/2 python3: remove obsolete SKIPPED_TESTS
We were skipping a number of tests that upon retesting with 3.14.9 do not appear to be skipped anymore. Test with both musl and glibc:
musl:
Total tests: run=48,010 (filtered) skipped=2,290
Total test files: run=529/538 (filtered) skipped=77 resource_denied=9
glibc:
Total tests: run=48,024 (filtered) skipped=2,520
Total test files: run=529/538 (filtered) skipped=76 resource_denied=9
Signed-off-by Ross Burton <[email protected]>
--- .../recipes-devtools/python/python3_3.14.9.bb | 38 ------------------- 1 file changed, 38 deletions(-)
meta/recipes-devtools/python/python3_3.14.9.bb +0 -38
@@ -276,38 +276,6 @@ SKIPPED_TESTS = " \ --ignore test_write_read_append \ " -# We build Python3 with editline support by default, which has tab completion -# but not bang completion. test_bang_completion_without_do_shell() passes if -# building with readline, but we don't want to change the default, so skip the -# test. -# https://github.com/python/cpython/issues/150922 -SKIPPED_TESTS += " \ - --ignore test_bang_completion_without_do_shell \ -" - -# Also fails with editline instead of readline. See: -# https://github.com/python/cpython/issues/123018 -SKIPPED_TESTS += " \ - --ignore test_write_read_limited_history \ -" - -# In 3.14+ PyREPL's uses terminfo instead of curses. ICH1, is not in the -# resulting terminal capabilities, in an "optimization" occurring from PyREPL's -# side that causes test_cursor_back_write() to fail. Specifically, the test -# tests the following writes in sequence: -# -# 1. b"1" -# 2. TERM_CAPABILITIES["cub"] + b":1" -# 3. ANY, b"2" -# -# The first two writes are read correctly, but the result for the third -# write is seeing the equivalent of: -# -# ANY, b"21" -SKIPPED_TESTS += " \ - --ignore test_cursor_back_write \ -" - # Needs IMAGE_FEATURE += \"tools-sdk\" # Can be removed when https://github.com/python/cpython/pull/151231 is merged SKIPPED_TESTS += " \
@@ -320,12 +288,6 @@ SKIPPED_TESTS += " \ --ignore test_sysconfigdata_json \ " -# Fails with segfault -# Bugzilla YP 16182 (test_tracemalloc_track_race) -SKIPPED_TESTS += " \ - --ignore test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race \ -" - # Intermittent failure under load - the remote pdb attach test is timing # sensitive and fails on loaded autobuilder hosts (CPython #130363) # Bugzilla YP 16201, 16412
Signature · 1 line
2.43.0