Loading meta-trs/lib/oeqa/runtime/cases/opteetest.pydeleted 100644 → 0 +0 −31 Original line number Diff line number Diff line # # SPDX-License-Identifier: MIT # import os from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.decorator.package import OEHasPackage from oeqa.core.decorator.oetimeout import OETimeout class OpteeTestSuite(OERuntimeTestCase): """ Run OP-TEE tests (xtest). """ @OETimeout(800) @OEHasPackage(['optee-test']) def test_opteetest_xtest(self): # clear storage before executing tests cmd = " xtest --clear-storage || true " status, output = self.target.run(cmd, timeout=60) self.assertEqual(status, 0, msg='\n'.join([cmd, output])) # these tests seem to trigger a hang in qemu machine when tests # run under oeqa runtime test framework cmd = " xtest \ -x regression_6020 \ -x regression_8101 \ -x pkcs11_1009 \ -x regression_1040 \ " status, output = self.target.run(cmd, timeout=600) self.assertEqual(status, 0, msg='\n'.join([cmd, output])) meta-trs/recipes-core/images/trs-image.bb +1 −2 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ IMAGE_INSTALL += "\ linux-firmware-rtl8192cu \ linux-firmware-sd8887 \ linux-firmware-sd8997 \ ltp \ net-tools \ opensc \ optee-test \ Loading Loading @@ -190,7 +189,7 @@ TEST_SUITES = "\ ping \ ssh \ tpm \ opteetest \ optee \ date \ df \ dtc \ Loading Loading
meta-trs/lib/oeqa/runtime/cases/opteetest.pydeleted 100644 → 0 +0 −31 Original line number Diff line number Diff line # # SPDX-License-Identifier: MIT # import os from oeqa.runtime.case import OERuntimeTestCase from oeqa.runtime.decorator.package import OEHasPackage from oeqa.core.decorator.oetimeout import OETimeout class OpteeTestSuite(OERuntimeTestCase): """ Run OP-TEE tests (xtest). """ @OETimeout(800) @OEHasPackage(['optee-test']) def test_opteetest_xtest(self): # clear storage before executing tests cmd = " xtest --clear-storage || true " status, output = self.target.run(cmd, timeout=60) self.assertEqual(status, 0, msg='\n'.join([cmd, output])) # these tests seem to trigger a hang in qemu machine when tests # run under oeqa runtime test framework cmd = " xtest \ -x regression_6020 \ -x regression_8101 \ -x pkcs11_1009 \ -x regression_1040 \ " status, output = self.target.run(cmd, timeout=600) self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
meta-trs/recipes-core/images/trs-image.bb +1 −2 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ IMAGE_INSTALL += "\ linux-firmware-rtl8192cu \ linux-firmware-sd8887 \ linux-firmware-sd8997 \ ltp \ net-tools \ opensc \ optee-test \ Loading Loading @@ -190,7 +189,7 @@ TEST_SUITES = "\ ping \ ssh \ tpm \ opteetest \ optee \ date \ df \ dtc \ Loading