mirror of
git://git.openembedded.org/meta-openembedded
synced 2025-12-31 13:38:06 +00:00
gupnp-igd: add ptest support
Execution takes around 10 seconds. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
parent
590afd1a98
commit
97d4be2839
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
RET=0
|
||||
|
||||
cd test
|
||||
for t in $(find . -type f -executable); do
|
||||
if ./$t; then
|
||||
echo PASS: $t
|
||||
else
|
||||
echo FAIL: $t
|
||||
RET=1
|
||||
fi
|
||||
done
|
||||
exit $RET
|
||||
@ -6,8 +6,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
||||
DEPENDS = "glib-2.0 gssdp gupnp sqlite3"
|
||||
|
||||
SRC_URI = "http://download.gnome.org/sources/${BPN}/1.2/${BPN}-${PV}.tar.xz"
|
||||
SRC_URI += "file://run-ptest"
|
||||
SRC_URI[sha256sum] = "4b5120098aa13edd27818ba9ee4d7fe961bf540bf50d056ff703c61545e02be1"
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
||||
inherit meson pkgconfig gtk-doc gobject-introspection
|
||||
inherit meson pkgconfig gtk-doc gobject-introspection ptest
|
||||
|
||||
do_install_ptest(){
|
||||
cd ${B}/tests/gtest
|
||||
for t in $(find . -type f -executable); do
|
||||
install -D $t ${D}${PTEST_PATH}/test/$t
|
||||
done
|
||||
install -m 0644 ${S}/tests/gtest/*.xml ${D}${PTEST_PATH}/test/
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user