From eee1452b9c8714b62ecf4a443858564811e07362 Mon Sep 17 00:00:00 2001 From: J-Alves Date: Fri, 14 May 2021 09:27:03 +0100 Subject: 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 Change-Id: Ib14dc3bf7f9c916fd5addf24675ea111eef5248e --- spm/cactus/cactus_tests/cactus_message_loop.c | 1 - 1 file changed, 1 deletion(-) (limited to 'spm/cactus/cactus_tests') diff --git a/spm/cactus/cactus_tests/cactus_message_loop.c b/spm/cactus/cactus_tests/cactus_message_loop.c index 11207dc..fde7074 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); -- cgit v1.2.3