mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-03 01:40:53 +00:00
libseccomp: add package for tests.
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>
This commit is contained in:
@@ -18,6 +18,15 @@ do_configure() {
|
|||||||
${S}/configure --prefix=${prefix} --libdir=${libdir}
|
${S}/configure --prefix=${prefix} --libdir=${libdir}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_compile_append() {
|
||||||
|
oe_runmake DESTDIR=${D} tests
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
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/*"
|
||||||
|
|||||||
Reference in New Issue
Block a user