aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-03-03 20:53:10 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-03-04 22:08:00 +0900
commitab387d44ba2585000c432d9cf459f2e4bbd14efc (patch)
treee2af7c09f745713c53b74d5f0f2b1a1ac2ed9088 /meta-ivi-test
parentf31cab88a17a13f08544cc11ce53e610b20cf3b9 (diff)
downloadmeta-ivi-ab387d44ba2585000c432d9cf459f2e4bbd14efc.tar.gz
meta-ivi-ab387d44ba2585000c432d9cf459f2e4bbd14efc.tar.bz2
meta-ivi-ab387d44ba2585000c432d9cf459f2e4bbd14efc.zip
common-api-test: move *-test package to meta-ivi-test layer
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
Diffstat (limited to 'meta-ivi-test')
-rw-r--r--meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gzbin0 -> 251169 bytes
-rw-r--r--meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb63
2 files changed, 63 insertions, 0 deletions
diff --git a/meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gz b/meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gz
new file mode 100644
index 0000000..e1f5f7c
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gz
Binary files differ
diff --git a/meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb b/meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb
new file mode 100644
index 0000000..7a88f87
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb
@@ -0,0 +1,63 @@
+SUMMARY = "testsuite for CommonAPI"
+SECTION = "test"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit autotools cmake pkgconfig
+
+DEPENDS += " common-api-c++ common-api-c++-dbus glib-2.0"
+
+SRC_URI = " \
+ file://${PN}-${PV}.tar.gz \
+ "
+
+S = "${WORKDIR}/${PN}"
+
+EXTRA_OECMAKE += "-DUSE_INSTALLED_COMMONAPI=ON -DUSE_INSTALLED_DBUS=ON -DCMAKE_INSTALL_PREFIX=/usr"
+
+FILES_${PN} = " \
+ ${bindir}/test/E0* \
+ ${bindir}/test/*/README \
+ ${bindir}/test/*/commonapi4dbus.ini \
+ ${bindir}/test/*/*Client \
+ ${bindir}/test/*/*Service \
+ ${libdir}/*.so \
+ "
+
+FILES_${PN}-dev = ""
+
+FILES_${PN}-dbg += " \
+ ${bindir}/test/.debug/* \
+ ${bindir}/test/*/.debug/* \
+ ${libdir}/.debug/* \
+ "
+
+do_install() {
+ _DEST=${D}${bindir}/test
+ _BIN=${WORKDIR}/build
+
+ install -d ${_DEST}
+ install -d ${D}${libdir}
+ for i in `\ls ${_BIN} | grep E0`; do
+ install -m 0755 ${_BIN}/${i}/${i}Client ${_DEST}
+ install -m 0755 ${_BIN}/${i}/${i}Service ${_DEST}
+ install -m 0755 ${_BIN}/${i}/lib${i}-dbus.so ${D}${libdir}
+ done
+
+ for i in BlueZ ObjectPathSimple UDisks2 VariantSimple; do
+ install -d ${_DEST}/${i}
+ install -m 0755 ${_BIN}/${i}/${i}Client ${_DEST}/${i}
+ rm -rf ${_DEST}/${i}/.debug
+ if [ -e ${_BIN}/${i}/${i}Service ]; then
+ install -m 0755 ${_BIN}/${i}/${i}Service ${_DEST}/${i}
+ fi
+ if [ -e ${S}/${i}/README ]; then
+ install -m 0644 ${S}/${i}/README ${_DEST}/${i}
+ fi
+ if [ -e ${S}/${i}/commonapi4dbus.ini ]; then
+ install -m 0644 ${S}/${i}/commonapi4dbus.ini ${_DEST}/${i}
+ fi
+ install -m 0755 ${_BIN}/${i}/lib${i}-dbus.so ${D}${libdir}
+ done
+}