summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-classes.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-08-13 15:15:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-13 13:19:00 +0100
commit0c0ac7dd3af04610ca740817224d8c57ccd2fba5 (patch)
tree3fc34355a7a4e037caa59e57a580d91278b23542 /documentation/ref-manual/ref-classes.xml
parent35655863cad0ebcb78001bafd781e212bdffe4bc (diff)
downloadast2050-yocto-poky-0c0ac7dd3af04610ca740817224d8c57ccd2fba5.zip
ast2050-yocto-poky-0c0ac7dd3af04610ca740817224d8c57ccd2fba5.tar.gz
ref-manual: Updates to insane.bbclass and two new variables added.
* Updated the insane.bbclass section to move the note at the end about using ERROR_QA and WARN_QA to control how the checks are reported to the front of the section. * Added new variable entries for WARN_QA and ERROR_QA. (From yocto-docs rev: 6f220d1ba3d44a1bba2f1ac882cdf6b601ddc5bb) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r--documentation/ref-manual/ref-classes.xml58
1 files changed, 29 insertions, 29 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 7a5a5dd..5d1e3ed 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -466,20 +466,39 @@
</para>
<para>
- You can configure the sanity checks so that specific test failures either raise a warning or
- an error message.
+ You can configure the sanity checks so that specific test failures
+ either raise a warning or an error message.
Typically, failures for new tests generate a warning.
- Subsequent failures for the same test would then generate an error message
- once the metadata is in a known and good condition.
- You use the <filename>WARN_QA</filename> variable to specify tests for which you
- want to generate a warning message on failure.
- You use the <filename>ERROR_QA</filename> variable to specify tests for which you
- want to generate an error message on failure.
+ Subsequent failures for the same test would then generate an error
+ message once the metadata is in a known and good condition.
</para>
<para>
- The following list shows the tests you can list with the <filename>WARN_QA</filename>
- and <filename>ERROR_QA</filename> variables:
+ Use the
+ <link linkend='var-WARN_QA'><filename>WARN_QA</filename></link> and
+ <link linkend='var-ERROR_QA'><filename>ERROR_QA</filename></link>
+ variables to control the behavior of
+ these checks at the global level (i.e. in your custom distro
+ configuration).
+ However, to skip one or more checks in recipes, you should use
+ <link linkend='var-INSANE_SKIP'><filename>INSANE_SKIP</filename></link>.
+ For example, to skip the check for symbolic link
+ <filename>.so</filename> files in the main package of a recipe,
+ add the following to the recipe.
+ You need to realize that the package name override, in this example
+ <filename>${PN}</filename>, must be used:
+ <literallayout class='monospaced'>
+ INSANE_SKIP_${PN} += "dev-so"
+ </literallayout>
+ Please keep in mind that the QA checks exist in order to detect real
+ or potential problems in the packaged output.
+ So exercise caution when disabling these checks.
+ </para>
+
+ <para>
+ The following list shows the tests you can list with the
+ <filename>WARN_QA</filename> and <filename>ERROR_QA</filename>
+ variables:
<itemizedlist>
<listitem><para><emphasis><filename>ldflags:</filename></emphasis>
Ensures that the binaries were linked with the
@@ -780,25 +799,6 @@
</para></listitem>
</itemizedlist>
</para>
- <note>
- You can use the <filename>WARN_QA</filename> and
- <filename>ERROR_QA</filename> variables to control the behavior of
- these checks at the global level (i.e. in your custom distro
- configuration).
- However, to skip one or more checks in recipes, you should use
- <link linkend='var-INSANE_SKIP'><filename>INSANE_SKIP</filename></link>.
- For example, to skip the check for symbolic link
- <filename>.so</filename> files in the main package of a recipe,
- add the following to the recipe.
- You need to realize that the package name override, in this example
- <filename>${PN}</filename>, must be used:
- <literallayout class='monospaced'>
- INSANE_SKIP_${PN} += "dev-so"
- </literallayout>
- Please keep in mind that the QA checks exist in order to detect real
- or potential problems in the packaged output.
- So exercise caution when disabling these checks.
- </note>
</section>
<section id='ref-classes-rm-work'>
OpenPOWER on IntegriCloud