From 67d95bffa95ca6e56c06c59fd1d15d20ce9a636a Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 24 Jun 2013 16:52:21 +0200 Subject: busybox: Add ptest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Install busybox test suite and run it as ptest. (From OE-Core rev: 0d29dc5b5f7742df60fdba90835ef77425963bde) Signed-off-by: Anders Roxell Signed-off-by: Björn Stenberg Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-core/busybox/busybox_1.20.2.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta/recipes-core/busybox/busybox_1.20.2.bb') diff --git a/meta/recipes-core/busybox/busybox_1.20.2.bb b/meta/recipes-core/busybox/busybox_1.20.2.bb index a2e762d451..c854f0b2bd 100644 --- a/meta/recipes-core/busybox/busybox_1.20.2.bb +++ b/meta/recipes-core/busybox/busybox_1.20.2.bb @@ -34,6 +34,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://strict-atime.patch \ file://fail_on_no_media.patch \ file://busybox-sulogin-empty-root-password.patch \ + file://run-ptest \ file://inetd.conf \ file://inetd \ file://login-utilities.cfg \ @@ -43,3 +44,9 @@ SRC_URI[tarball.md5sum] = "e025414bc6cd79579cc7a32a45d3ae1c" SRC_URI[tarball.sha256sum] = "eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882" EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" + +do_install_ptest () { + cp -r ${B}/testsuite ${D}${PTEST_PATH}/ + cp ${B}/.config ${D}${PTEST_PATH}/ + ln -s /bin/busybox ${D}${PTEST_PATH}/busybox +} -- cgit v1.2.3-54-g00ecf