Skip to content

Commit f9978c9

Browse files
[ottf] silence console prints for ATE
This fixes #29010. Signed-off-by: Tim Trippel <ttrippel@google.com>
1 parent b2dd0e8 commit f9978c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sw/device/lib/testing/test_framework/ottf_main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ void _ottf_main(void) {
183183

184184
#if !OT_IS_ENGLISH_BREAKFAST
185185
if (!kOttfTestConfig.ignore_alerts) {
186-
LOG_INFO("Enabling OTTF alert catcher");
186+
if (!kOttfTestConfig.silence_console_prints) {
187+
LOG_INFO("Enabling OTTF alert catcher");
188+
}
187189
CHECK_STATUS_OK(ottf_alerts_enable_all());
188190
}
189191
#endif // !OT_IS_ENGLISH_BREAKFAST

0 commit comments

Comments
 (0)