Skip to contentSkip to conversation

glib-2.0: ptest fixes

PATCH New Richard Purdie 1 participant 1 message Jun 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glib-2.0: ptest fixes

Add missing quotes in ptest runner. Without these it runs all gnome tests which is why the counts in my minimal image tests differed from those on the main autobuilder core-image-sato runs.

Also fix an error showing in the ptest logs where invalid options were being passed to busybox du.

---
 meta/recipes-core/glib-2.0/glib-2.0/run-ptest | 2 +-
 meta/recipes-core/glib-2.0/glib.inc           | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib-2.0/run-ptest +1 -1
index 8f082d34f60..fc50082c8e6 100644
@@ -2,5 +2,5 @@
 
 set -eux
 useradd glib2-test
-su glib2-test -c gnome-desktop-testing-runner glib
+su glib2-test -c 'gnome-desktop-testing-runner glib'
 userdel glib2-test
meta/recipes-core/glib-2.0/glib.inc +1 -0
index 82107a8a188..385596c7544 100644
@@ -140,6 +140,7 @@ CODEGEN_PYTHON_RDEPENDS_mingw32 = ""
 RDEPENDS_${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}"
 
 RDEPENDS_${PN}-ptest += "\
+            coreutils \
             libgcc \
             dbus \
             gnome-desktop-testing \
Signature · 1 line
2.20.1