Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Stefan Stanacar <stefanx.stanacar@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 0/2] Run tests on a remote machine
Date: Tue, 26 Nov 2013 11:18:20 +0200	[thread overview]
Message-ID: <cover.1385457142.git.stefanx.stanacar@intel.com> (raw)

Hello,

These patches add some abstraction on how we control a target, so that we can also
run the tests on real hardware.
The "backend" is controlled by setting TEST_TARGET to "qemu" or "simpleremote". (a very simple
remote implementation which does not deploy the image but runs the tests on a remote machine
via ssh to a specified IP address).

Cheers,
Stefan

Changed in v2:
  - yay, typos: FunFailed -> FuncFailed (there's a gremlin in my computer :))
  - small changes in commit messages
  - one try/except block in targetcontrol.py was too big, scale it down.


The following changes since commit 381cd842caa3db5eabf8973305b6979014d9d0a8:

  linux-firmware: add missing linux-firmware-iwlwifi-7260-7 package (2013-11-25 16:14:48 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib stefans/hwtest3
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/hwtest3

Stefan Stanacar (2):
  lib/oeqa: targetcontrol.py: add abstraction for running tests on
    different targets
  testimage: use the new targetcontrol.py module for running tests

 meta/classes/testimage-auto.bbclass |   3 +-
 meta/classes/testimage.bbclass      | 104 ++++++++++-----------------
 meta/lib/oeqa/oetest.py             |  20 +++---
 meta/lib/oeqa/runtime/ping.py       |   2 +-
 meta/lib/oeqa/runtime/smart.py      |   4 +-
 meta/lib/oeqa/targetcontrol.py      | 137 ++++++++++++++++++++++++++++++++++++
 meta/lib/oeqa/utils/qemurunner.py   |  50 +++++++------
 meta/lib/oeqa/utils/sshcontrol.py   |  20 ++----
 8 files changed, 224 insertions(+), 116 deletions(-)
 create mode 100644 meta/lib/oeqa/targetcontrol.py

-- 
1.8.3.1



             reply	other threads:[~2013-11-26  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26  9:18 Stefan Stanacar [this message]
2013-11-26  9:18 ` [PATCH v2 1/2] lib/oeqa: targetcontrol.py: add abstraction for running tests on different targets Stefan Stanacar
2013-11-26  9:18 ` [PATCH v2 2/2] testimage: use the new targetcontrol.py module for running tests Stefan Stanacar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1385457142.git.stefanx.stanacar@intel.com \
    --to=stefanx.stanacar@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox