meta-parsec: Disable RSA-OAEP OEQA tests for Parsec PKCS11 backend

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Gowtham Suresh Kumar
2023-04-06 18:39:02 +01:00
committed by Armin Kuster
parent 9d819c1242
commit cdd4295689

View File

@@ -53,10 +53,10 @@ class ParsecTest(OERuntimeTestCase):
self.assertIn("ID: 0x0%d (%s provider)" % (prov_id, provider),
output, msg='%s provider is not configured.' % provider)
def run_cli_tests(self, prov_id=None):
def run_cli_tests(self, prov_id=None, extra_params=""):
""" Run Parsec CLI end-to-end tests against one or all providers """
status, output = self.target.run('parsec-cli-tests.sh %s' % ("-%d" % prov_id if prov_id else ""))
status, output = self.target.run('parsec-cli-tests.sh %s %s' % ("-%d" % prov_id if prov_id else "", extra_params))
self.assertEqual(status, 0, msg='Parsec CLI tests failed.\n %s' % output)
def check_packageconfig(self, prov):
@@ -181,7 +181,9 @@ class ParsecTest(OERuntimeTestCase):
self.configure_pkcs11_provider()
self.check_parsec_providers("PKCS #11", prov_id)
self.run_cli_tests(prov_id)
# Software PKCS11 we use for OE QA testing
# doesn't support RSA-OAEP(SHA256) encryption/decryption operations
self.run_cli_tests(prov_id, "--no-oaep")
self.restore_parsec_config()
def configure_TS_provider(self):