]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/signing: Skip tests if gpg isn't found
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Nov 2018 17:56:06 +0000 (17:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Nov 2018 17:13:28 +0000 (17:13 +0000)
commit2d486af97e51b9daa9c40482c31d637c9ab4ae79
tree85557d6ef84ba3c2cb632d891013789918af5933
parenteec95f90093a6aa1d8be145e351fc9df4abef172
oeqa/selftest/signing: Skip tests if gpg isn't found

Raising an assertionError in the class setup isn't a particuarly good way to
indicate gpg isn't installed. Instead skip the tests if the required binary
isn't present. For the signing tests we do require it to be present and can't
use a prebuilt one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/signing.py