summaryrefslogtreecommitdiff
path: root/scripts/lib/compatlayer/cases/common.py
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-06-27 17:33:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-06 14:38:06 +0100
commite8416554dfc9d4196543279a4845f6c0671f3e5c (patch)
tree8a2a1a552970476e1a4ad7e2be80eae2ff7d4e5b /scripts/lib/compatlayer/cases/common.py
parent4afb7c3c505a4d21906f07f88c966b794a968cbc (diff)
downloadopenembedded-core-e8416554dfc9d4196543279a4845f6c0671f3e5c.tar.gz
openembedded-core-e8416554dfc9d4196543279a4845f6c0671f3e5c.tar.bz2
openembedded-core-e8416554dfc9d4196543279a4845f6c0671f3e5c.zip
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. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/compatlayer/cases/common.py')
-rw-r--r--scripts/lib/compatlayer/cases/common.py2
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):
def graph2sig(task):
pn, taskname = task.rsplit('.', 1)
return pn + ':' + taskname
- depgraph = get_depgraph()
+ depgraph = get_depgraph(failsafe=True)
depends = depgraph['tdepends']
# If a task A has a changed signature, but none of its