fix(tc4): don't expect the terminal names to be at the start of the line
Just like all FVPs, TC4 doesn't print the terminal name as the first
thing on the line. Update the regex as otherwise the local CI run script
will indefinitely wait for it to match, which it never will.
Since the uarts can be substrings of each other, expect the name to have
a space in front of it as a word delimiter.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I2a8543c8d7a3b5df820e36d8f0da7305aed56d1e
diff --git a/model/tc4-ports.awk b/model/tc4-ports.awk
index 320eaee..8ccdc72 100644
--- a/model/tc4-ports.awk
+++ b/model/tc4-ports.awk
@@ -1,13 +1,13 @@
#
-# Copyright (c) 2021-2024, Arm Limited. All rights reserved.
+# Copyright (c) 2021-2025, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
-/^terminal_uart:/ { ports[0] = $NF }
-/^rse_terminal_uart:/ { ports[1] = $NF }
-/^terminal_uart_ap:/ { ports[2] = $NF }
-/^terminal_uart1_ap:/ { ports[3] = $NF }
+/ terminal_uart:/ { ports[0] = $NF }
+/ rse_terminal_uart:/ { ports[1] = $NF }
+/ terminal_uart_ap:/ { ports[2] = $NF }
+/ terminal_uart1_ap:/ { ports[3] = $NF }
END {
for (i = 0; i < num_uarts; i++) {
if (ports[i] != "")