CI: Terminate FVP TFTF tests on EOT

For CI configurations running in non-Jenkins
environment this patch sets FVP model parameter
'bp.pl011_uart0.shutdown_on_eot=1' to enable
simulation shutdown on transmission of EOT char
when TFTF tests terminate.

Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Change-Id: I39e6f28eb2e783c666d03b540255290dd6f44e78
diff --git a/model/fvp_common.sh b/model/fvp_common.sh
index 13382f6..2f9cd17 100644
--- a/model/fvp_common.sh
+++ b/model/fvp_common.sh
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
+# Copyright (c) 2019-2021, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -106,3 +106,11 @@
 --stat
 EOF
 fi
+
+# TFTF: When running in non-Jenkins environment,
+# shutdown simulation when EOT (ASCII 4) char is transmitted.
+if not_upon "$jenkins_run" && echo "$RUN_CONFIG" | grep -iq 'tftf'; then
+	cat <<EOF >>"$model_param_file"
+-C bp.pl011_uart0.shutdown_on_eot=1
+EOF
+fi