mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
gupnp-igd: add ptest support
Execution takes around 10 seconds. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
316770a9f5
commit
8353697d83
|
|
@ -9,6 +9,7 @@
|
||||||
PTESTS_FAST_META_MULTIMEDIA = "\
|
PTESTS_FAST_META_MULTIMEDIA = "\
|
||||||
gssdp \
|
gssdp \
|
||||||
gupnp-av \
|
gupnp-av \
|
||||||
|
gupnp-igd \
|
||||||
libopenmpt\
|
libopenmpt\
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -5,8 +5,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
||||||
|
|
||||||
DEPENDS = "glib-2.0 gssdp gupnp"
|
DEPENDS = "glib-2.0 gssdp gupnp"
|
||||||
|
|
||||||
inherit gnomebase pkgconfig gtk-doc gobject-introspection
|
inherit gnomebase pkgconfig gtk-doc gobject-introspection ptest
|
||||||
|
|
||||||
|
SRC_URI += "file://run-ptest"
|
||||||
SRC_URI[archive.sha256sum] = "4099978339ab22126d4968f2a332b6d094fc44c78797860781f1fc2f11771b74"
|
SRC_URI[archive.sha256sum] = "4099978339ab22126d4968f2a332b6d094fc44c78797860781f1fc2f11771b74"
|
||||||
|
|
||||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||||
|
|
||||||
|
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…
Reference in New Issue
Block a user