[oe-commits] [openembedded-core] 03/16: HACK: signing: Add extra test debug
git at git.openembedded.org
git at git.openembedded.org
Fri Feb 28 23:14:10 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 9077ce21afda476b2606a9016b1ef4f16c89b09b
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Dec 4 20:20:52 2019 +0000
HACK: signing: Add extra test debug
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/selftest/cases/signing.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/signing.py b/meta/lib/oeqa/selftest/cases/signing.py
index 202d549..9ea3132 100644
--- a/meta/lib/oeqa/selftest/cases/signing.py
+++ b/meta/lib/oeqa/selftest/cases/signing.py
@@ -221,4 +221,10 @@ class LockedSignatures(OESelftestTestCase):
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
+ extradebug += bitbake(test_recipe + " -S none").output
+ extradebug += runCmd('ls -la tmp/stamps/*/ed/*').output
+
+ self.assertIsNotNone(found_warn, "Didn't find the expected warning message. Output: %s, Extra debug: %s" % (ret.output, extradebug))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list