From: Armin Kuster <akuster808@gmail.com>
To: yocto@yoctoproject.org
Subject: [meta-security][PATCH] libseccomp: add package for tests.
Date: Thu, 4 Sep 2014 21:03:13 -0700 [thread overview]
Message-ID: <1409889793-26166-1-git-send-email-akuster808@gmail.com> (raw)
I wanted to run the tests manually on a target. Tests are now
built and packaged.
to run: /usr/lib/libseccomp/tests/regression -a
will add ptest later.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
recipes-security/libseccomp/libseccomp_2.1.1.bb | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/recipes-security/libseccomp/libseccomp_2.1.1.bb b/recipes-security/libseccomp/libseccomp_2.1.1.bb
index 27fa259..0896f85 100644
--- a/recipes-security/libseccomp/libseccomp_2.1.1.bb
+++ b/recipes-security/libseccomp/libseccomp_2.1.1.bb
@@ -18,6 +18,15 @@ do_configure() {
${S}/configure --prefix=${prefix} --libdir=${libdir}
}
+do_compile_append() {
+ oe_runmake DESTDIR=${D} tests
+}
+
do_install() {
- oe_runmake DESTDIR=${D} install
+ oe_runmake DESTDIR=${D} install
+ oe_runmake DESTDIR=${D} install-tests
}
+
+PACKAGES += "${PN}-tests "
+FILES_${PN}-tests = "${libdir}/${BPN}/tests/*"
+FILES_${PN}-dbg += "${libdir}/${BPN}/tests/.debug/*"
--
1.9.1
reply other threads:[~2014-09-05 4:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1409889793-26166-1-git-send-email-akuster808@gmail.com \
--to=akuster808@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.