All of lore.kernel.org
 help / color / mirror / Atom feed
* [selftest][PATCH V2 0/3] QA: create unit tests for event module
@ 2017-02-21 16:33 Jair Gonzalez
  2017-02-21 16:33 ` [selftest][PATCH V2 1/3] bitbake: tests: " Jair Gonzalez
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jair Gonzalez @ 2017-02-21 16:33 UTC (permalink / raw)
  To: bitbake-devel

Changed in V2:
  On bb.tests.event:
    - Fixed copyright typo.
    - Added assertions for event types in event handler calls.
    - Changed sleep calls on test_enable_threadlock and 
      test_disable_threadlock to the order of seconds to prevent an overlap
      offset because a thread scheduler's delay. Improved both tests by
      testing the event type and call order differentiating events coming
      from each worker thread.
  On bb.event:
    - Added commit to upgrade the remove method on bb.event class by
      updating the event mapping after a class event handler is removed.
      This fix is necessary for bitbake-selftest to pass
      test_change_handler_event_mapping.

[YOCTO #10368]

The following changes since commit e436a6398684d2872cb541f1cfb0f67b3618d15a:

  layer.conf: bump version for change in eSDK selftest behaviour (2017-02-19 09:39:03 -0800)

are available in the git repository at:

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

Jair Gonzalez (3):
  bitbake: tests: create unit tests for event module
  bitbake: selftest: add bb.tests.event to bitbake-selftest
  bitbake: event: remove mapping for deleted event handlers

 bitbake/bin/bitbake-selftest  |   1 +
 bitbake/lib/bb/event.py       |   6 +-
 bitbake/lib/bb/tests/event.py | 372 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 378 insertions(+), 1 deletion(-)
 create mode 100644 bitbake/lib/bb/tests/event.py

-- 
2.7.4



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

end of thread, other threads:[~2017-02-21 18:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-21 16:33 [selftest][PATCH V2 0/3] QA: create unit tests for event module Jair Gonzalez
2017-02-21 16:33 ` [selftest][PATCH V2 1/3] bitbake: tests: " Jair Gonzalez
2017-02-21 18:22   ` Aníbal Limón
2017-02-21 16:33 ` [selftest][PATCH V2 2/3] bitbake: selftest: add bb.tests.event to bitbake-selftest Jair Gonzalez
2017-02-21 16:33 ` [selftest][PATCH V2 3/3] bitbake: event: remove mapping for deleted event handlers Jair Gonzalez

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.