fix(rmm): fix rsi_logger_tests
This patch fixes RSI Logger tests build error
for LOG_LEVEL=0.
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: Ifdc97cec287a3a4dfcae2f812f1ff51153b00934
diff --git a/runtime/tests/rsi_logger_tests.cpp b/runtime/tests/rsi_logger_tests.cpp
index eb42705..791fc68 100644
--- a/runtime/tests/rsi_logger_tests.cpp
+++ b/runtime/tests/rsi_logger_tests.cpp
@@ -39,6 +39,7 @@
{}
};
+#if (RSI_LOG_LEVEL > LOG_LEVEL_NONE) && (RSI_LOG_LEVEL <= LOG_LEVEL)
static void rsi_log_test(unsigned int id, unsigned int status)
{
unsigned long args[10];
@@ -88,3 +89,8 @@
TEST_EXIT;
}
+#else
+IGNORE_TEST(rsi_logger_tests, RSI_LOGGER_TC1)
+{
+}
+#endif