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