Wait for TFTF test statistics and end-of-test banner to be
output to UART0 before terminating the test run on the FVP Model.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I7ed08dd5912b3c7b95b535aee07b351b4d05ab19
diff --git a/expect/disable_dyn_auth_tftf.exp b/expect/disable_dyn_auth_tftf.exp
index 8ca24fd..0985976 100644
--- a/expect/disable_dyn_auth_tftf.exp
+++ b/expect/disable_dyn_auth_tftf.exp
@@ -13,7 +13,7 @@
expect {
"Tests Failed : 0" {
- puts "<<TFTF Success>>"
+ expect_string "Exiting tests." "<<TFTF Success>>"
exit_uart 0
}
"Tests Passed : 0" {
diff --git a/expect/tftf.exp b/expect/tftf.exp
index 560d936..bcc04fc 100644
--- a/expect/tftf.exp
+++ b/expect/tftf.exp
@@ -15,7 +15,7 @@
expect {
"Tests Failed : 0" {
- puts "<<TFTF Success>>"
+ expect_string "Exiting tests." "<<TFTF Success>>"
exit_uart 0
}
"Tests Passed : 0" {