diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-06-27 17:33:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-27 22:36:44 +0100 |
commit | 6d7302b53c6ceae1194611eba2ef48fc30f20e12 (patch) | |
tree | 320aa97dd21c3b422e9c52a2520c9420353c5e74 /scripts/lib/compatlayer/cases/common.py | |
parent | 7546daec4fe30d0bd338aac5b8ac4a4add00f137 (diff) | |
download | poky-6d7302b53c6ceae1194611eba2ef48fc30f20e12.tar.gz |
yocto-compat-layer.py: tolerate broken world builds during signature diff
The "test_signatures" test ignored a broken world build when getting
signatures, but the code which then tried to analyze a difference
found by the test didn't, which prevented printing the difference.
(From OE-Core rev: f2190e7e81f86735510c6ab10d3ac781146113f9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/compatlayer/cases/common.py')
-rw-r--r-- | scripts/lib/compatlayer/cases/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/compatlayer/cases/common.py b/scripts/lib/compatlayer/cases/common.py index 8eeada9b1e..2dfcbb1c32 100644 --- a/scripts/lib/compatlayer/cases/common.py +++ b/scripts/lib/compatlayer/cases/common.py | |||
@@ -50,7 +50,7 @@ class CommonCompatLayer(OECompatLayerTestCase): | |||
50 | def graph2sig(task): | 50 | def graph2sig(task): |
51 | pn, taskname = task.rsplit('.', 1) | 51 | pn, taskname = task.rsplit('.', 1) |
52 | return pn + ':' + taskname | 52 | return pn + ':' + taskname |
53 | depgraph = get_depgraph() | 53 | depgraph = get_depgraph(failsafe=True) |
54 | depends = depgraph['tdepends'] | 54 | depends = depgraph['tdepends'] |
55 | 55 | ||
56 | # If a task A has a changed signature, but none of its | 56 | # If a task A has a changed signature, but none of its |