* [PATCH 0/2] python3: exclude test_timerfd_TFD_TIMER_ABSTIME from ptest
@ 2026-04-17 8:48 Mathieu Dubois-Briand
2026-04-17 8:48 ` [PATCH 1/2] " Mathieu Dubois-Briand
2026-04-17 8:48 ` [PATCH 2/2] python3: Simplify ptest exclusion list Mathieu Dubois-Briand
0 siblings, 2 replies; 3+ messages in thread
From: Mathieu Dubois-Briand @ 2026-04-17 8:48 UTC (permalink / raw)
To: openembedded-core; +Cc: Thomas Petazzoni, Mathieu Dubois-Briand
Add a test exclusion, and rework how test exclusions are specified. The
first patch can be merged alone, if needed.
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Mathieu Dubois-Briand (2):
python3: exclude test_timerfd_TFD_TIMER_ABSTIME from ptest
python3: Simplify ptest exclusion list
meta/recipes-devtools/python/python3_3.14.4.bb | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
---
base-commit: a9cc47107cbbfe1cc4bc91bf01dc1ffafa5f9bec
change-id: 20260417-mathieu-python3-ptest-8b3feb270993
Best regards,
--
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] python3: exclude test_timerfd_TFD_TIMER_ABSTIME from ptest
2026-04-17 8:48 [PATCH 0/2] python3: exclude test_timerfd_TFD_TIMER_ABSTIME from ptest Mathieu Dubois-Briand
@ 2026-04-17 8:48 ` Mathieu Dubois-Briand
2026-04-17 8:48 ` [PATCH 2/2] python3: Simplify ptest exclusion list Mathieu Dubois-Briand
1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Dubois-Briand @ 2026-04-17 8:48 UTC (permalink / raw)
To: openembedded-core; +Cc: Thomas Petazzoni, Mathieu Dubois-Briand
This test tends to fail intermittently, probably when the qemu machine is
a bit too slow.
Fixes [YOCTO #15743]
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
meta/recipes-devtools/python/python3_3.14.4.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python3_3.14.4.bb b/meta/recipes-devtools/python/python3_3.14.4.bb
index f48dbc699636..a5f7cbc66f05 100644
--- a/meta/recipes-devtools/python/python3_3.14.4.bb
+++ b/meta/recipes-devtools/python/python3_3.14.4.bb
@@ -251,8 +251,12 @@ do_install:append:class-nativesdk () {
create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1'
}
+do_install_ptest:append () {
+ sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="--ignore test.test_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME"|' ${D}${PTEST_PATH}/run-ptest
+}
+
do_install_ptest:append:class-target:libc-musl () {
- sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-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"|' ${D}${PTEST_PATH}/run-ptest
+ sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-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_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME"|' ${D}${PTEST_PATH}/run-ptest
}
SYSROOT_PREPROCESS_FUNCS:append:class-target = " provide_target_config_script"
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] python3: Simplify ptest exclusion list
2026-04-17 8:48 [PATCH 0/2] python3: exclude test_timerfd_TFD_TIMER_ABSTIME from ptest Mathieu Dubois-Briand
2026-04-17 8:48 ` [PATCH 1/2] " Mathieu Dubois-Briand
@ 2026-04-17 8:48 ` Mathieu Dubois-Briand
1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Dubois-Briand @ 2026-04-17 8:48 UTC (permalink / raw)
To: openembedded-core; +Cc: Thomas Petazzoni, Mathieu Dubois-Briand
Makes the exclusion list a bit more readable, avoiding very long sed
expression lines.
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
meta/recipes-devtools/python/python3_3.14.4.bb | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-devtools/python/python3_3.14.4.bb b/meta/recipes-devtools/python/python3_3.14.4.bb
index a5f7cbc66f05..9f958532cba2 100644
--- a/meta/recipes-devtools/python/python3_3.14.4.bb
+++ b/meta/recipes-devtools/python/python3_3.14.4.bb
@@ -251,12 +251,21 @@ do_install:append:class-nativesdk () {
create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1'
}
-do_install_ptest:append () {
- sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="--ignore test.test_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME"|' ${D}${PTEST_PATH}/run-ptest
-}
+SKIPPED_TESTS = "--ignore test.test_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME"
+SKIPPED_TESTS:append:class-target: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 \
+"
-do_install_ptest:append:class-target:libc-musl () {
- sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-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_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME"|' ${D}${PTEST_PATH}/run-ptest
+
+do_install_ptest:append () {
+ sed -i -e "s|SKIPPED_TESTS=|SKIPPED_TESTS=\"${SKIPPED_TESTS}\"|" ${D}${PTEST_PATH}/run-ptest
}
SYSROOT_PREPROCESS_FUNCS:append:class-target = " provide_target_config_script"
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-17 8:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-17 8:48 [PATCH 0/2] python3: exclude test_timerfd_TFD_TIMER_ABSTIME from ptest Mathieu Dubois-Briand
2026-04-17 8:48 ` [PATCH 1/2] " Mathieu Dubois-Briand
2026-04-17 8:48 ` [PATCH 2/2] python3: Simplify ptest exclusion list Mathieu Dubois-Briand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox