diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-04-30 08:38:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-28 18:02:27 +0100 |
commit | 95108a1c346773f57ffd7f1970e2987607ad9360 (patch) | |
tree | 2aaf4f000291015ae08c295456e83f3121a8e880 /documentation/dev-manual/dev-manual-common-tasks.xml | |
parent | d0531dbf0e5f4f8612b5164674f9140b1d86010b (diff) | |
download | poky-95108a1c346773f57ffd7f1970e2987607ad9360.tar.gz |
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>
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 7a28176ce0..1d4e34f91e 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -8656,9 +8656,19 @@ | |||
8656 | <ulink url='&YOCTO_DOCS_REF_URL;#var-BBPATH'><filename>BBPATH</filename></ulink> | 8656 | <ulink url='&YOCTO_DOCS_REF_URL;#var-BBPATH'><filename>BBPATH</filename></ulink> |
8657 | is extended in the layer's | 8657 | is extended in the layer's |
8658 | <filename>layer.conf</filename> file as normal). | 8658 | <filename>layer.conf</filename> file as normal). |
8659 | Just remember that filenames need to map directly to test | 8659 | Just remember the following: |
8660 | (module) names and that you do not use module names that | 8660 | <itemizedlist> |
8661 | collide with existing core tests. | 8661 | <listitem><para>Filenames need to map directly to test |
8662 | (module) names. | ||
8663 | </para></listitem> | ||
8664 | <listitem><para>Do not use module names that | ||
8665 | collide with existing core tests. | ||
8666 | </para></listitem> | ||
8667 | <listitem><para>Minimally, an empty | ||
8668 | <filename>__init__.py</filename> file must exist | ||
8669 | in the runtime directory. | ||
8670 | </para></listitem> | ||
8671 | </itemizedlist> | ||
8662 | </para> | 8672 | </para> |
8663 | 8673 | ||
8664 | <para> | 8674 | <para> |