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: 519d0ff95e2ffbdb615d6dc27a6c11b393eb4b53)

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 d0531dbf0e
commit 95108a1c34
1 changed files with 13 additions and 3 deletions

View File

@ -8656,9 +8656,19 @@
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBPATH'><filename>BBPATH</filename></ulink>
is extended in the layer's
<filename>layer.conf</filename> file as normal).
Just remember that filenames need to map directly to test
(module) names and that you do not use module names that
Just remember the following:
<itemizedlist>
<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>