diff options
Diffstat (limited to 'scripts/lib/compatlayer')
-rw-r--r-- | scripts/lib/compatlayer/cases/common.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/lib/compatlayer/cases/common.py b/scripts/lib/compatlayer/cases/common.py index b91da9bb14..a4c2a51aba 100644 --- a/scripts/lib/compatlayer/cases/common.py +++ b/scripts/lib/compatlayer/cases/common.py | |||
@@ -75,5 +75,17 @@ class CommonCompatLayer(OECompatLayerTestCase): | |||
75 | msg.append('Layer %s changed %d signatures, initial differences (first hash without, second with layer):' % | 75 | msg.append('Layer %s changed %d signatures, initial differences (first hash without, second with layer):' % |
76 | (self.tc.layer['name'], len(sig_diff))) | 76 | (self.tc.layer['name'], len(sig_diff))) |
77 | for diff in sorted(sig_diff_filtered): | 77 | for diff in sorted(sig_diff_filtered): |
78 | recipe, taskname = diff[0].rsplit(':', 1) | ||
79 | cmd = 'bitbake-diffsigs --task %s %s --signature %s %s' % \ | ||
80 | (recipe, taskname, diff[1], diff[2]) | ||
78 | msg.append(' %s: %s -> %s' % diff) | 81 | msg.append(' %s: %s -> %s' % diff) |
79 | self.assertTrue(False, '\n'.join(msg)) | 82 | msg.append(' %s' % cmd) |
83 | try: | ||
84 | output = check_command('Determining signature difference failed.', | ||
85 | cmd).decode('utf-8') | ||
86 | except RuntimeError as error: | ||
87 | output = str(error) | ||
88 | if output: | ||
89 | msg.extend([' ' + line for line in output.splitlines()]) | ||
90 | msg.append('') | ||
91 | self.fail('\n'.join(msg)) | ||