fix: update partial success for DA test case
This patch returns a SUCCESS error code on partial success of DA
testcase so that TF-RMM can progress with partial merge of DA
patch stack. This will be reverted when the entire DA
flow is implemented in TF-RMM.
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
Change-Id: I39a682fd4a346b8f34b51a20e3b5868f71a0f214
diff --git a/tftf/tests/runtime_services/host_realm_managment/host_rmi_da_flow.c b/tftf/tests/runtime_services/host_realm_managment/host_rmi_da_flow.c
index ce85080..f110e10 100644
--- a/tftf/tests/runtime_services/host_realm_managment/host_rmi_da_flow.c
+++ b/tftf/tests/runtime_services/host_realm_managment/host_rmi_da_flow.c
@@ -107,8 +107,6 @@
&public_key_algo);
if (rc != 0) {
ERROR("Get public key failed\n");
- /* TF-RMM has support till here. Change error code temporarily */
- result = TEST_RESULT_SUCCESS;
goto err_pdev_reclaim;
}
@@ -143,6 +141,8 @@
rc = host_assign_vdev_to_realm(&realm, h_pdev, h_vdev);
if (rc != 0) {
INFO("VDEV assign to realm failed\n");
+ /* TF-RMM has support till here. Change error code temporarily */
+ result = TEST_RESULT_SUCCESS;
goto err_pdev_reclaim;
}