diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2013-12-27 15:44:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-10 15:16:50 +0000 |
commit | 41d7758f3bdd3011483553c5aa8966965da904ba (patch) | |
tree | 14d88b16967fd19670adeec71bd4e3f56e72a9c1 /meta/recipes-support/beecrypt/beecrypt_4.2.1.bb | |
parent | 2b702032fa00d417bc19316e149192c2ccc9d543 (diff) | |
download | ast2050-yocto-poky-41d7758f3bdd3011483553c5aa8966965da904ba.zip ast2050-yocto-poky-41d7758f3bdd3011483553c5aa8966965da904ba.tar.gz |
beecrypt: add ptest support
Install beecrypt test suite and run it as ptest.
Make all ptest pass.
(From OE-Core rev: f344699eb15933cc7c92b0ed6894ef0869568659)
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt_4.2.1.bb')
-rw-r--r-- | meta/recipes-support/beecrypt/beecrypt_4.2.1.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb index 46834d2..209b92e 100644 --- a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb +++ b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb @@ -8,7 +8,10 @@ HOMEPAGE = "http://sourceforge.net/projects/beecrypt" SRC_URI = "${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \ file://disable-icu-check.patch \ file://fix-security.patch \ - file://fix-for-gcc-4.7.patch" + file://fix-for-gcc-4.7.patch \ + file://run-ptest \ + file://beecrypt-enable-ptest-support.patch \ + " SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e" SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d" @@ -20,7 +23,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \ PR = "r3" -inherit autotools multilib_header +inherit autotools multilib_header ptest acpaths="" do_install_append() { @@ -37,3 +40,8 @@ FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la" FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a" BBCLASSEXTEND = "native nativesdk" + +do_install_ptest () { + mkdir ${D}${PTEST_PATH}/tests + cp -r ${B}/tests/.libs/test* ${D}${PTEST_PATH}/tests +} |