All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Prevent task dependency calculation going into an infinite loop
@ 2016-07-29 11:29 Elliot Smith
  2016-07-29 11:29 ` [PATCH 1/2] toaster-tests: add test for showing self-dependent task Elliot Smith
  2016-07-29 11:29 ` [PATCH 2/2] toaster: prevent infinite loop when finding task dependencies Elliot Smith
  0 siblings, 2 replies; 3+ messages in thread
From: Elliot Smith @ 2016-07-29 11:29 UTC (permalink / raw)
  To: toaster

Where a task is "covered" by itself, Toaster is unable to display the task,
as the code causes a non-terminating loop (see the commit logs for an explanation).

Add a condition to prevent this, and a test to make sure we don't reintroduce it
later.

Related bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9952

The following changes since commit 1826de5234aadb9aa51c83f86471cdd7e88b48cf
(toaster-next):

  toaster: loadconf Partially add back some of the layerSource parsing (2016-07-21 11:23:00 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib elliot/toaster/9952-covered_tasks_no_show
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/9952-covered_tasks_no_show

Elliot Smith (2):
  toaster-tests: add test for showing self-dependent task
  toaster: prevent infinite loop when finding task dependencies

 .../lib/toaster/tests/browser/test_task_page.py    | 76 ++++++++++++++++++++++
 bitbake/lib/toaster/toastergui/views.py            | 10 +++
 2 files changed, 86 insertions(+)
 create mode 100644 bitbake/lib/toaster/tests/browser/test_task_page.py

--
2.7.4



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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29 11:29 [PATCH 0/2] Prevent task dependency calculation going into an infinite loop Elliot Smith
2016-07-29 11:29 ` [PATCH 1/2] toaster-tests: add test for showing self-dependent task Elliot Smith
2016-07-29 11:29 ` [PATCH 2/2] toaster: prevent infinite loop when finding task dependencies Elliot Smith

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.