dev-manual: Updated requirements for writing a new test.

Fixes [YOCTO #7524]

The "Writing New Tests" section needed more clarification in the first
paragraph.  One requirement is that minimally, an empty __iniit_.py
file must exist in the runtime directory.

(From yocto-docs rev: 8f003a9fe7c31bad7ed705a003a44761ba8b3c4f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2015-04-30 08:38:51 -07:00
committed by Richard Purdie
parent 4d9919646a
commit 76d164d5ad

View File

@@ -8656,9 +8656,19 @@
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBPATH'><filename>BBPATH</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#var-BBPATH'><filename>BBPATH</filename></ulink>
is extended in the layer's is extended in the layer's
<filename>layer.conf</filename> file as normal). <filename>layer.conf</filename> file as normal).
Just remember that filenames need to map directly to test Just remember the following:
(module) names and that you do not use module names that <itemizedlist>
collide with existing core tests. <listitem><para>Filenames need to map directly to test
(module) names.
</para></listitem>
<listitem><para>Do not use module names that
collide with existing core tests.
</para></listitem>
<listitem><para>Minimally, an empty
<filename>__init__.py</filename> file must exist
in the runtime directory.
</para></listitem>
</itemizedlist>
</para> </para>
<para> <para>