From a13b63f9ea04eb5500b706b0421cfed6e293d634 Mon Sep 17 00:00:00 2001 From: Gyorgy Szing Date: Fri, 19 May 2023 13:23:52 +0200 Subject: [PATCH] arm/oeqa: enable OP-TEE SPMC tests Run the ffa_spmc test group of xtest if the optee-spmc-test machine feature is enabled. Signed-off-by: Anton Antonov Signed-off-by: Jon Mason --- meta-arm/lib/oeqa/runtime/cases/trusted_services.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-arm/lib/oeqa/runtime/cases/trusted_services.py b/meta-arm/lib/oeqa/runtime/cases/trusted_services.py index 1eeca205..88298956 100644 --- a/meta-arm/lib/oeqa/runtime/cases/trusted_services.py +++ b/meta-arm/lib/oeqa/runtime/cases/trusted_services.py @@ -62,6 +62,12 @@ class TrustedServicesTest(OERuntimeTestCase): test_grp_list+=" DiscoveryServiceTests" self.run_test_tool('ts-service-test -lg', expected_output=test_grp_list) + @OEHasPackage(['optee-test']) + @skipIfNotInDataVar('MACHINE_FEATURES', 'optee-spmc-test', 'SPMC Test SPs are not included') + @OETestDepends(['ssh.SSHTest.test_ssh']) + def test_07_spmc_test(self): + self.run_test_tool('xtest -t ffa_spmc') + @OEHasPackage(['ts-service-test']) @skipIfNotInDataVar('MACHINE_FEATURES', 'ts-fwu', 'FWU SP is not included') @OETestDepends(['ssh.SSHTest.test_ssh'])