]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdk-pixbuf: remove a test that sporadically fails without reproducibility
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 26 Mar 2020 20:53:44 +0000 (21:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Mar 2020 10:24:40 +0000 (10:24 +0000)
The test is randomly modifying file data and some of these random
modifications cause OOM failures. There is no way to preserve and repeat
what was modified, so the test needs to re-engineered to do
proper fuzzing.

See here for details:
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/146

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb

index 699c4ecd0b295bba9450bd703711a7f52fe3535e..d0df5015a5be0f12af11e81d2f1278f2de3a22e7 100644 (file)
@@ -99,6 +99,11 @@ do_install_append() {
 
 }
 
+# Remove a bad fuzzing attempt that sporadically fails without a way to reproduce
+do_install_ptest() {
+       rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test
+}
+
 do_install_append_class-native() {
        find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;