mirror of
https://git.yoctoproject.org/poky
synced 2026-07-26 07:07:08 +00:00
Add a new distro feature "ptest".
This patch creates a new distro feature "ptest", which creates -ptest packages containing the test suite of the package for running on the target. Test files are installed in /usr/lib/<pkg>/ptest. The patch also includes a change to automake, splitting the "make check" target into separate steps for building and running the tests. (From OE-Core rev: 6f92e7f8891008dd3c89325d3fbe2da853372326) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
627e745d7b
commit
1d2c6833ae
@@ -25,7 +25,7 @@ python () {
|
||||
packages = d.getVar('PACKAGES', True).split()
|
||||
genpackages = []
|
||||
for pkg in packages:
|
||||
for postfix in ['-dbg', '-dev']:
|
||||
for postfix in ['-dbg', '-dev', '-ptest']:
|
||||
genpackages.append(pkg+postfix)
|
||||
d.setVar('PACKAGES', ' '.join(packages+genpackages))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user