Skip to content

Commit

Permalink
HACK: signing: Add extra test debug
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Purdie <[email protected]>
  • Loading branch information
rpurdie committed Dec 6, 2019
1 parent 820771f commit 131c050
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion meta/lib/oeqa/selftest/cases/signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,8 @@ def test_locked_signatures(self):
patt = r'The %s:do_package sig is computed to be \S+, but the sig is locked to \S+ in SIGGEN_LOCKEDSIGS\S+' % test_recipe
found_warn = re.search(patt, ret.output)

self.assertIsNotNone(found_warn, "Didn't find the expected warning message. Output: %s" % ret.output)
extradebug = ""
if not found_warn:
extradebug = bitbake(test_recipe + " -e").output

self.assertIsNotNone(found_warn, "Didn't find the expected warning message. Output: %s, Extra debug: %s" % (ret.output, extradebug))

0 comments on commit 131c050

Please sign in to comment.