All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] fixed toaster-eventreplay (#9585)
@ 2016-06-21 14:24 Ed Bartosh
  2016-06-21 14:24 ` [PATCH 1/6] eventreplay: add MockConnection.getEventHandle method Ed Bartosh
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ed Bartosh @ 2016-06-21 14:24 UTC (permalink / raw)
  To: toaster

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-06 11:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 14:24 [PATCH 0/6] fixed toaster-eventreplay (#9585) Ed Bartosh
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

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.