local.conf.sample: Add info about -ptest package group
PATCH 1/1 local.conf.sample: Add info about -ptest package group
From: "Maxin B. John" <[email protected]>
Add information about ptest package testing in local.conf.sample file.
Signed-off-by Maxin B. John <[email protected]>
--- meta/conf/local.conf.sample | 2 ++ 1 file changed, 2 insertions(+)
meta/conf/local.conf.sample +2 -0
@@ -117,6 +117,8 @@ PACKAGE_CLASSES ?= "package_ipk" # (adds symbol information for debugging/profiling) # "dev-pkgs" - add -dev packages for all installed packages # (useful if you want to develop against libs in the image) +# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages +# (useful if you want to run the package test suites) # "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) # "tools-debug" - add debugging tools (gdb, strace) # "eclipse-debug" - add Eclipse remote debugging support
Signature · 1 line
1.7.10.4
meta/conf/local.conf.sample PACKAGE_CLASSES ?= "package_ipk" · line 121
Quoted 2 lines · On Fri, Apr 5, 2013 at 11:35 AM, <[email protected]> wrote:
meta/conf/local.conf.sample +2
-0+# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages +# (useful if you want to run the package test suites)
Is there a simple way to discover which packages are ptest-enabled?
ptest enabled packages will "inherit ptest". So, we can use grep to find the list of ptest enabled packages.
eg:
# cd poky
# grep -ir --include=*.{bb,inc} "inherit" |grep "ptest"
meta/recipes-extended/bash/bash.inc:inherit autotools gettext update-alternatives ptest
meta/recipes-core/glib-2.0/glib.inc:inherit autotools gettext gtk-doc pkgconfig ptest
meta/recipes-core/dbus/dbus-ptest_1.6.8.bb:inherit autotools pkgconfig gettext ptestBest Regards,
Maxin