style(expect): normalize debugging messages
A minor style cleanup to the messages printed by the Expect scripts to
make them a bit more consistent and descriptive.
Signed-off-by: Chris Kay <chris.kay@arm.com>
Change-Id: Ibd8ccb4423bd5aaeffc99c2f3602123794dc6200
diff --git a/expect/tftf-non-primary.exp b/expect/tftf-non-primary.exp
index 8bf23f8..41e15b1 100644
--- a/expect/tftf-non-primary.exp
+++ b/expect/tftf-non-primary.exp
@@ -8,20 +8,20 @@
source [file join [file dirname [info script]] handle-arguments.inc]
-expect_string "Booting trusted firmware test framework" "Starting TFTF"
+expect_string "Booting trusted firmware test framework" "TFTF is booting"
expect_re "Running at NS-EL(1|2)"
expect {
"Tests Failed : 0" {
- expect_string "Exiting tests." "<<TFTF Success>>"
+ expect_string "Exiting tests." "all TFTF tests passed"
exit_uart 0
}
"Tests Passed : 0" {
- puts "<<TFTF no tests passed>>"
+ expect_string "Exiting tests." "no TFTF tests passed"
exit_uart -1
}
-re "Tests Failed : \[^0]" {
- puts "<<TFTF Fail>>"
+ expect_string "Exiting tests." "one or more TFTF tests failed"
exit_uart -1
}
}