]> 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>
Thu, 6 Dec 2018 10:28:57 +0000 (10:28 +0000)
commit65403bb556f7e3132722288a62ef36631af0b557
tree30f924dc0539081b1b93ebd57bc6c90c0e1634e5
parentd3b3c55ddc312039380ce8e23e68dd8bb2439388
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.

(From OE-Core rev: 2d486af97e51b9daa9c40482c31d637c9ab4ae79)

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