summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2014-09-09 13:57:27 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-09-26 05:42:53 +0200
commit9c7899e0df435655870798c15580b1c0967ca30c (patch)
tree6d5676789a60fdf1329dab44823bb478c5e71e2a /meta-oe/recipes-connectivity
parent11a7fb62b8e2f1d91793460de33229874c433648 (diff)
downloadmeta-openembedded-9c7899e0df435655870798c15580b1c0967ca30c.tar.gz
zeromq: following ptest formatting
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rwxr-xr-xmeta-oe/recipes-connectivity/zeromq/files/run-ptest10
-rw-r--r--meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb17
2 files changed, 17 insertions, 10 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/files/run-ptest b/meta-oe/recipes-connectivity/zeromq/files/run-ptest
new file mode 100755
index 000000000..48b9cd9fc
--- /dev/null
+++ b/meta-oe/recipes-connectivity/zeromq/files/run-ptest
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3cd tests
4for i in `ls *`; do
5 if [ ./$i ] ; then
6 echo "PASS: $i"
7 else
8 echo "FAIL: $i"
9 fi
10done
diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb b/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb
index 014114f05..80907fa7c 100644
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "http://www.zeromq.org"
3LICENSE = "LGPLv3+" 3LICENSE = "LGPLv3+"
4LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1" 4LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
5 5
6SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz" 6SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz \
7 file://run-ptest \
8 "
7SRC_URI[md5sum] = "f3c3defbb5ef6cc000ca65e529fdab3b" 9SRC_URI[md5sum] = "f3c3defbb5ef6cc000ca65e529fdab3b"
8SRC_URI[sha256sum] = "1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399" 10SRC_URI[sha256sum] = "1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399"
9 11
@@ -14,14 +16,9 @@ S = "${WORKDIR}/zeromq-${PV}"
14#CFLAGS_append += "-O0" 16#CFLAGS_append += "-O0"
15#CXXFLAGS_append += "-O0" 17#CXXFLAGS_append += "-O0"
16 18
17inherit autotools 19inherit autotools ptest
18 20
19do_install_append () { 21do_install_ptest () {
20 install -d ${D}${bindir}/tests/zeromq-${PV} 22 install -d ${D}${PTEST_PATH}/tests
21 install -m 0755 ${B}/tests/.libs/* ${D}${bindir}/tests/zeromq-${PV} 23 install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests
22} 24}
23
24PACKAGES = "${PN}-dbg ${PN}-test ${PN} ${PN}-staticdev ${PN}-doc ${PN}-dev ${PN}-locale"
25
26FILES_${PN}-dbg =+ "${bindir}/tests/zeromq-${PV}/.debug"
27FILES_${PN}-test = "${bindir}/tests"