aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ-Alves <joao.alves@arm.com>2021-05-14 09:27:03 +0100
committerJ-Alves <joao.alves@arm.com>2021-06-03 10:32:29 +0100
commiteee1452b9c8714b62ecf4a443858564811e07362 (patch)
treed2fa494ae735375bd3da53b48aca905037dfe999
parentcfae10dfe9e4a2464b3d290b8f39be1cdeb7ac29 (diff)
downloadtf-a-tests-eee1452b9c8714b62ecf4a443858564811e07362.tar.gz
fix(cactus): remove misleading ERROR log
The cactus message loop the log message for unhandled commands is misleading because it is expected to receive some direct messages for set-up configuration discovery. These messages are not handled by cactus and could indicate when a given test must be skipped or not. Namely, some SPM tests are skipped if OPTEE deployed as SP. This discovery "protocol" is executed at the beginning of most SPM related tests, which lead to a lot of ERROR messages, that often mislead developers into thinking there was a problem in the system. Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: Ib14dc3bf7f9c916fd5addf24675ea111eef5248e
-rw-r--r--spm/cactus/cactus_tests/cactus_message_loop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/spm/cactus/cactus_tests/cactus_message_loop.c b/spm/cactus/cactus_tests/cactus_message_loop.c
index 11207dca..fde70744 100644
--- a/spm/cactus/cactus_tests/cactus_message_loop.c
+++ b/spm/cactus/cactus_tests/cactus_message_loop.c
@@ -49,7 +49,6 @@ bool cactus_handle_cmd(smc_ret_values *cmd_args, smc_ret_values *ret,
}
}
- ERROR("Unhandled test command!\n");
*ret = cactus_error_resp(ffa_dir_msg_dest(*cmd_args),
ffa_dir_msg_source(*cmd_args),
CACTUS_ERROR_UNHANDLED);