diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-07-01 09:00:49 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 13:57:10 +0100 |
| commit | 08d68e5bc806e6ffc324595f5a7e83c7ff767e35 (patch) | |
| tree | 87107a3493b85cfd78165c8faa7df580b018059f | |
| parent | 2284771b52aa9f339c7e3f16e03f687d8a48bd45 (diff) | |
| download | poky-08d68e5bc806e6ffc324595f5a7e83c7ff767e35.tar.gz | |
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 <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 10 | ||||
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 15 |
2 files changed, 25 insertions, 0 deletions
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</ulink>"</emphasis> | |||
| 5900 | DISTRO_FEATURES_append = " ptest" | 5900 | DISTRO_FEATURES_append = " ptest" |
| 5901 | EXTRA_IMAGE_FEATURES += "ptest-pkgs" | 5901 | EXTRA_IMAGE_FEATURES += "ptest-pkgs" |
| 5902 | </literallayout> | 5902 | </literallayout> |
| 5903 | <note> | ||
| 5904 | The OpenEmbedded build system uses the | ||
| 5905 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PTEST_ENABLED'><filename>PTEST_ENABLED</filename></ulink> | ||
| 5906 | variable to see if it should enable ptests during | ||
| 5907 | a build. | ||
| 5908 | This variable is enabled or disabled through your use | ||
| 5909 | of the <filename>DISTRO_FEATURES</filename> variable. | ||
| 5910 | You do not set <filename>PTEST_ENABLED</filename> | ||
| 5911 | directly. | ||
| 5912 | </note> | ||
| 5903 | Once your build is complete, the ptest files are installed | 5913 | Once your build is complete, the ptest files are installed |
| 5904 | into the <filename>/usr/lib/<package>/ptest</filename> | 5914 | into the <filename>/usr/lib/<package>/ptest</filename> |
| 5905 | directory within the image, where | 5915 | 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" | |||
| 6485 | </glossdef> | 6485 | </glossdef> |
| 6486 | </glossentry> | 6486 | </glossentry> |
| 6487 | 6487 | ||
| 6488 | <glossentry id='var-PTEST_ENABLED'><glossterm>PTEST_ENABLED</glossterm> | ||
| 6489 | <glossdef> | ||
| 6490 | <para> | ||
| 6491 | Specifies whether or not | ||
| 6492 | <ulink url='&YOCTO_DOCS_DEV_URL;#testing-packages-with-ptest'>Package Test</ulink> | ||
| 6493 | (ptest) functionality is enabled when building a recipe. | ||
| 6494 | You should not set this variable directly. | ||
| 6495 | Enabling and disabling building Package Tests | ||
| 6496 | at build time should be done by adding "ptest" to (or | ||
| 6497 | removing it from) | ||
| 6498 | <link linkend='var-DISTRO_FEATURES'><filename>DISTRO_FEATURES</filename></link>. | ||
| 6499 | </para> | ||
| 6500 | </glossdef> | ||
| 6501 | </glossentry> | ||
| 6502 | |||
| 6488 | <glossentry id='var-PV'><glossterm>PV</glossterm> | 6503 | <glossentry id='var-PV'><glossterm>PV</glossterm> |
| 6489 | <glossdef> | 6504 | <glossdef> |
| 6490 | <para> | 6505 | <para> |
