]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3: use += instead of :append in SKIPPED_TESTS
authorRoss Burton <ross.burton@arm.com>
Tue, 2 Jun 2026 16:06:40 +0000 (17:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Jun 2026 10:18:34 +0000 (11:18 +0100)
+= is less computationally intensive than :append so use it unless the
semantics of :append are needed.

Also remove the class-target override, this is not required as ptests
are only used in target builds.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.14.5.bb

index 2f821b130f01c0cf26c9d2836777dac1c64000b7..501de75fb1875c77bb4ad68b64144288ba521747 100644 (file)
@@ -271,13 +271,13 @@ SKIPPED_TESTS = " \
 # 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.
-SKIPPED_TESTS:append = " \
+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:append = " \
+SKIPPED_TESTS += " \
     --ignore test_write_read_limited_history \
 "
 
@@ -294,22 +294,22 @@ SKIPPED_TESTS:append = " \
 # write is seeing the equivalent of:
 #
 # ANY, b"21"
-SKIPPED_TESTS:append = " \
+SKIPPED_TESTS += " \
     --ignore test_cursor_back_write \
 "
 
 # Needs IMAGE_FEATURE += \"tools-sdk\"
-SKIPPED_TESTS:append = " \
+SKIPPED_TESTS += " \
     --ignore test_find_library_with_gcc \
     --ignore test_find_library_with_ld \
 "
 
 # Fails due to differences in CFLAGS as as modified during build
-SKIPPED_TESTS:append = " \
+SKIPPED_TESTS += " \
     --ignore test_sysconfigdata_json \
 "
 
-SKIPPED_TESTS:append:class-target:libc-musl = " \
+SKIPPED_TESTS:append:libc-musl = " \
     -x test__locale \
     -x test_c_locale_coercion \
     -x test_locale \