From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: toaster@yoctoproject.org
Subject: [PATCH 0/6] fixed toaster-eventreplay (#9585)
Date: Tue, 21 Jun 2016 17:24:26 +0300 [thread overview]
Message-ID: <cover.1466513089.git.ed.bartosh@linux.intel.com> (raw)
Hi,
This patchet contains changes made to toaster-eventreplay script to make it working
with the recent codebase.
Most of the changes were caused by moving to Python 3. Old event serializing code
in cooker and toaster-eventreplay doesn't work in Python 3.
There were also changes made to toasterui and buildinfohelper that made the script
outdated, e.g. setEventMask was used in toasterui, but was not implemented in toaster-eventreplay.
Test instructions:
- generate event file using bitbake -u knotty -w events core-image-minimal
- start toaster: . ../bitbake/bin/toaster start
- check the the latest build:
../bitbake/lib/toaster/manage.py shell
In [1]: from orm.models import Build
In [2]: Build.objects.last()
Out[2]: <Build: 58 Project object core-image-minimal>
- replay event file: toaster-eventreplay events
- make sure latest build number is incremented:
../bitbake/lib/toaster/manage.py shell
In [1]: from orm.models import Build
In [2]: Build.objects.last()
Out[2]: <Build: 59 Project object core-image-minimal>
Note: This patchset depends on recent changes to cooker code:
http://lists.openembedded.org/pipermail/bitbake-devel/2016-June/007602.html
The following changes since commit 94dd70f042cd750a44ddfcef879a9547b072788f:
toaster-tests: define capabilities for latest Firefox driver (2016-06-21 13:48:30 +0300)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/toaster/eventplay-9585
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/eventplay-9585
Ed Bartosh (6):
eventreplay: add MockConnection.getEventHandle method
eventprelay: implement setEventMask command
eventreplay: fix event loading code
eventreplay: replace MockConfigParameters with namedtuple
eventreplay: reorganize imports
eventreplay: rewrite the script
bitbake/bin/toaster-eventreplay | 220 ++++++++++++++++------------------------
1 file changed, 86 insertions(+), 134 deletions(-)
--
Regards,
Ed
next reply other threads:[~2016-06-21 14:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-21 14:24 Ed Bartosh [this message]
2016-06-21 14:24 ` [PATCH 1/6] eventreplay: add MockConnection.getEventHandle method Ed Bartosh
2016-06-21 14:24 ` [PATCH 2/6] eventprelay: implement setEventMask command Ed Bartosh
2016-06-21 14:24 ` [PATCH 3/6] eventreplay: fix event loading code Ed Bartosh
2016-06-21 14:24 ` [PATCH 4/6] eventreplay: replace MockConfigParameters with namedtuple Ed Bartosh
2016-06-21 14:24 ` [PATCH 5/6] eventreplay: reorganize imports Ed Bartosh
2016-06-21 14:24 ` [PATCH 6/6] eventreplay: rewrite the script Ed Bartosh
2016-07-06 11:04 ` [PATCH 0/6] fixed toaster-eventreplay (#9585) Smith, Elliot
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.1466513089.git.ed.bartosh@linux.intel.com \
--to=ed.bartosh@linux.intel.com \
--cc=toaster@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.