[OE-core] [PATCH 0/6] Allow to dump commands from serial console when a test fails

mariano.lopez at linux.intel.com mariano.lopez at linux.intel.com
Wed Aug 12 14:05:50 UTC 2015


From: Mariano Lopez <mariano.lopez at linux.intel.com>

These changes allows to run commands on the qemu serial console
when a test fails. Right now the tests are hardcoded but the
idea is to be able to customize them.

qemurunner.py: Added and tunned run_serial method to allow
to run serial commands on the target

oetest.py: Added tearDown method to oeRuntimeTest, this allows
to catch when a test fails and run the diagnostic commands on
the target

The following changes since commit 0f7df92e3d2dbbb4c94299171d5d0287887e0d28:

  clutter-gst: update to 3.0.8 (2015-08-11 09:28:52 -0700)

are available in the git repository at:

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

Mariano Lopez (6):
  qemurunner.py: Add method run_serial
  qemurunner.py: Added login to start method
  qemurunner.py: Added raw mode in run_serial
  qemurunner.py: Performance improvements in run_serial
  oetest.py: Added method tearDown for oeRuntimeTest
  oetest.py: Don't wait to write dump files

 meta/lib/oeqa/oetest.py           | 35 +++++++++++++++++++++++++++
 meta/lib/oeqa/utils/qemurunner.py | 50 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

-- 
1.8.4.5



More information about the Openembedded-core mailing list