summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
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"