diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-09-09 13:57:27 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-09-26 05:42:53 +0200 |
commit | 9c7899e0df435655870798c15580b1c0967ca30c (patch) | |
tree | 6d5676789a60fdf1329dab44823bb478c5e71e2a /meta-oe/recipes-connectivity | |
parent | 11a7fb62b8e2f1d91793460de33229874c433648 (diff) | |
download | meta-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-x | meta-oe/recipes-connectivity/zeromq/files/run-ptest | 10 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb | 17 |
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 | |||
3 | cd tests | ||
4 | for i in `ls *`; do | ||
5 | if [ ./$i ] ; then | ||
6 | echo "PASS: $i" | ||
7 | else | ||
8 | echo "FAIL: $i" | ||
9 | fi | ||
10 | done | ||
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" | |||
3 | LICENSE = "LGPLv3+" | 3 | LICENSE = "LGPLv3+" |
4 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1" | 4 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1" |
5 | 5 | ||
6 | SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz" | 6 | SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz \ |
7 | file://run-ptest \ | ||
8 | " | ||
7 | SRC_URI[md5sum] = "f3c3defbb5ef6cc000ca65e529fdab3b" | 9 | SRC_URI[md5sum] = "f3c3defbb5ef6cc000ca65e529fdab3b" |
8 | SRC_URI[sha256sum] = "1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399" | 10 | SRC_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 | ||
17 | inherit autotools | 19 | inherit autotools ptest |
18 | 20 | ||
19 | do_install_append () { | 21 | do_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 | |||
24 | PACKAGES = "${PN}-dbg ${PN}-test ${PN} ${PN}-staticdev ${PN}-doc ${PN}-dev ${PN}-locale" | ||
25 | |||
26 | FILES_${PN}-dbg =+ "${bindir}/tests/zeromq-${PV}/.debug" | ||
27 | FILES_${PN}-test = "${bindir}/tests" | ||