From 08d68e5bc806e6ffc324595f5a7e83c7ff767e35 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 1 Jul 2014 09:00:49 +0300 Subject: ref-manual, dev-manual: Updates to support PTEST_ENABLED. In the ref-manual, I added a new variable description for the PTEST_ENABLED variable. In the dev-manual, I added a note to the "Adding ptest to Your Build" section to mention that the OpenEmbedded system uses PTEST_ENABLED to enable or disable building ptests and that the user does not set this variable directly. (From yocto-docs rev: 52d6608caaa25378b873e41e1ddd05356ff8629a) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-common-tasks.xml | 10 ++++++++++ documentation/ref-manual/ref-variables.xml | 15 +++++++++++++++ 2 files changed, 25 insertions(+) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 6aabdf4877..1e4f25d918 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -5900,6 +5900,16 @@ Gateways via their Web Interfaces" DISTRO_FEATURES_append = " ptest" EXTRA_IMAGE_FEATURES += "ptest-pkgs" + + The OpenEmbedded build system uses the + PTEST_ENABLED + variable to see if it should enable ptests during + a build. + This variable is enabled or disabled through your use + of the DISTRO_FEATURES variable. + You do not set PTEST_ENABLED + directly. + Once your build is complete, the ptest files are installed into the /usr/lib/<package>/ptest directory within the image, where diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 2b7a4b9a11..7a7efbcb96 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -6485,6 +6485,21 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + PTEST_ENABLED + + + Specifies whether or not + Package Test + (ptest) functionality is enabled when building a recipe. + You should not set this variable directly. + Enabling and disabling building Package Tests + at build time should be done by adding "ptest" to (or + removing it from) + DISTRO_FEATURES. + + + + PV -- cgit v1.2.3-54-g00ecf