aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-03-17 22:03:18 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-03-18 16:58:29 +0900
commit99527669d65dac9b05ef407e8b8153ed379f0837 (patch)
treea791ad334fa5bf16ebdac480c317a058221a57c5
parent9429914ff08bca6596bba3402661be2f8d9e5a5d (diff)
downloadmeta-ivi-99527669d65dac9b05ef407e8b8153ed379f0837.tar.gz
meta-ivi-99527669d65dac9b05ef407e8b8153ed379f0837.tar.bz2
meta-ivi-99527669d65dac9b05ef407e8b8153ed379f0837.zip
wayland-ivi-extension: create *-test package
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
-rw-r--r--meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend20
-rw-r--r--meta-ivi/recipes-graphics/wayland/wayland-ivi-extension_1.9.0.bb10
2 files changed, 23 insertions, 7 deletions
diff --git a/meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend b/meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend
new file mode 100644
index 0000000..d1d9fbb
--- /dev/null
+++ b/meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend
@@ -0,0 +1,20 @@
+#
+# for testing
+#
+DEPENDS += " gtest"
+EXTRA_OECMAKE += " -DBUILD_ILM_API_TESTS=1 -DINSTALL_ILM_API_TESTS=1"
+
+do_install_append() {
+ install -d ${D}/opt/tests/${PN}
+ mv ${D}/${bindir}/*test ${D}/opt/tests/${PN}
+}
+
+PACKAGES += "${PN}-test"
+DEPENDS_${PN}-test = "${PN}"
+
+FILES_${PN}-dbg += " \
+ /opt/tests/${PN}/.debug/* \
+ "
+FILES_${PN}-test = " \
+ /opt/tests/${PN}/* \
+ "
diff --git a/meta-ivi/recipes-graphics/wayland/wayland-ivi-extension_1.9.0.bb b/meta-ivi/recipes-graphics/wayland/wayland-ivi-extension_1.9.0.bb
index 21864e9..c56766e 100644
--- a/meta-ivi/recipes-graphics/wayland/wayland-ivi-extension_1.9.0.bb
+++ b/meta-ivi/recipes-graphics/wayland/wayland-ivi-extension_1.9.0.bb
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=176cedb32f48dd58f07e0c1c717b3ea4"
PR = "r1"
-SRC_URI = "git://git.projects.genivi.org/${PN}.git;tag=${PV}"
+SRC_URI = "git://git.projects.genivi.org/${PN}.git;tag=${PV} \
+ file://remove_compile-host-path_issue.patch \
+ "
DEPENDS = "weston"
S = "${WORKDIR}/git"
@@ -18,9 +20,3 @@ EXTRA_OECMAKE := "-DWITH_ILM_INPUT=1"
FILES_${PN} += "${libdir}/weston/*"
FILES_${PN}-dbg += "${libdir}/weston/.debug/*"
-
-# for testing
-SRC_URI_append += "file://remove_compile-host-path_issue.patch "
-DEPENDS += " gtest"
-EXTRA_OECMAKE += " -DBUILD_ILM_API_TESTS=1 -DINSTALL_ILM_API_TESTS=1"
-FILES_${PN} += " ${bindir}/*"