dev-manual: Updates to the "target" class attribute
Fixes [YOCTO #5554] In the "Class Attributes" section I updated several items. (From yocto-docs rev: 8f97671319c4751885e5ec89423a061dd45c6684) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
285ffd8307
commit
7406f93121
|
@ -6009,35 +6009,20 @@
|
|||
for copying on the target such as small
|
||||
files written in C for compilation.
|
||||
</para></listitem>
|
||||
<listitem><para><emphasis><filename>qemu</filename>:</emphasis>
|
||||
Provides access to the
|
||||
<filename>QemuRunner</filename> object,
|
||||
which is the class that boots the image.
|
||||
The <filename>qemu</filename> attribute
|
||||
provides the following useful attributes:
|
||||
<listitem><para><emphasis><filename>target</filename>:</emphasis>
|
||||
The target controller object used to deploy
|
||||
and start an image on a particular target
|
||||
(e.g. QemuTarget, SimpleRemote, and
|
||||
GummibootTarget).
|
||||
Tests usually use the following:
|
||||
<itemizedlist>
|
||||
<listitem><para><emphasis><filename>ip</filename>:</emphasis>
|
||||
The machine's IP address.
|
||||
The target's IP address.
|
||||
</para></listitem>
|
||||
<listitem><para><emphasis><filename>host_ip</filename>:</emphasis>
|
||||
The host IP address, which is only
|
||||
used by smart tests.
|
||||
</para></listitem>
|
||||
</itemizedlist></para></listitem>
|
||||
<listitem><para><emphasis><filename>target</filename>:</emphasis>
|
||||
The <filename>SSHControl</filename> object,
|
||||
which is used for running the following
|
||||
commands on the image:
|
||||
<itemizedlist>
|
||||
<listitem><para><emphasis><filename>host</filename>:</emphasis>
|
||||
Used internally.
|
||||
The tests do not use this command.
|
||||
</para></listitem>
|
||||
<listitem><para><emphasis><filename>timeout</filename>:</emphasis>
|
||||
A global timeout for commands run on
|
||||
the target for the instance of a
|
||||
test.
|
||||
The default is 300 seconds.
|
||||
<listitem><para><emphasis><filename>server_ip</filename>:</emphasis>
|
||||
The host's IP address, which is
|
||||
usually used by the "smart" test
|
||||
suite.
|
||||
</para></listitem>
|
||||
<listitem><para><emphasis><filename>run(cmd, timeout=None)</filename>:</emphasis>
|
||||
The single, most used method.
|
||||
|
|
Loading…
Reference in New Issue