mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 15:32:13 +02:00
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:
committed by
Richard Purdie
parent
285ffd8307
commit
7406f93121
@@ -6009,35 +6009,20 @@
|
|||||||
for copying on the target such as small
|
for copying on the target such as small
|
||||||
files written in C for compilation.
|
files written in C for compilation.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis><filename>qemu</filename>:</emphasis>
|
<listitem><para><emphasis><filename>target</filename>:</emphasis>
|
||||||
Provides access to the
|
The target controller object used to deploy
|
||||||
<filename>QemuRunner</filename> object,
|
and start an image on a particular target
|
||||||
which is the class that boots the image.
|
(e.g. QemuTarget, SimpleRemote, and
|
||||||
The <filename>qemu</filename> attribute
|
GummibootTarget).
|
||||||
provides the following useful attributes:
|
Tests usually use the following:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><emphasis><filename>ip</filename>:</emphasis>
|
<listitem><para><emphasis><filename>ip</filename>:</emphasis>
|
||||||
The machine's IP address.
|
The target's IP address.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis><filename>host_ip</filename>:</emphasis>
|
<listitem><para><emphasis><filename>server_ip</filename>:</emphasis>
|
||||||
The host IP address, which is only
|
The host's IP address, which is
|
||||||
used by smart tests.
|
usually used by the "smart" test
|
||||||
</para></listitem>
|
suite.
|
||||||
</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.
|
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis><filename>run(cmd, timeout=None)</filename>:</emphasis>
|
<listitem><para><emphasis><filename>run(cmd, timeout=None)</filename>:</emphasis>
|
||||||
The single, most used method.
|
The single, most used method.
|
||||||
|
|||||||
Reference in New Issue
Block a user