summaryrefslogtreecommitdiffstats
path: root/meta/classes/packagegroup.bbclass
diff options
context:
space:
mode:
authorBjörn Stenberg <bjst@enea.com>2012-12-19 17:18:27 +0100
committerSaul Wold <sgw@linux.intel.com>2012-12-25 14:00:20 -0800
commit6f92e7f8891008dd3c89325d3fbe2da853372326 (patch)
tree2e295c48cdb056282aaabde81ce866d59c063ce4 /meta/classes/packagegroup.bbclass
parentc5b11835b478871210fdd5c98db3b75f51fb80cd (diff)
downloadopenembedded-core-contrib-6f92e7f8891008dd3c89325d3fbe2da853372326.tar.gz
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. Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/packagegroup.bbclass')
-rw-r--r--meta/classes/packagegroup.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass
index fc67302a2c..af6ee5dff1 100644
--- a/meta/classes/packagegroup.bbclass
+++ b/meta/classes/packagegroup.bbclass
@@ -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))
}