From: Elliot Smith <elliot.smith@intel.com>
To: toaster@yoctoproject.org
Subject: [PATCH 0/2] Prevent task dependency calculation going into an infinite loop
Date: Fri, 29 Jul 2016 12:29:55 +0100 [thread overview]
Message-ID: <cover.1469791653.git.elliot.smith@intel.com> (raw)
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
next reply other threads:[~2016-07-29 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-29 11:29 Elliot Smith [this message]
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
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.1469791653.git.elliot.smith@intel.com \
--to=elliot.smith@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.