Skip to contentSkip to conversation

local.conf.sample: Add info about -ptest package group

PATCH In review [email protected] 2 participants 3 messages Apr 5, 2013 – Apr 9, 2013

lore
Share & tools
lore
#0 lore raw

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.

---
 meta/conf/local.conf.sample |    2 ++
 1 file changed, 2 insertions(+)
meta/conf/local.conf.sample +2 -0
index e1f8c5b..85205c5 100644
@@ -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
#1 lore raw

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?

#2 lore raw

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 ptest

Best Regards,
Maxin