blob: d05509fd39d3b72d0fb6450a2fec4101c1ad6b4e [file] [log] [blame]
#
# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Expect script for Trusted Firmware Test Framework
#
source [file join [file dirname [info script]] handle-arguments.inc]
expect {
"Initial lookup level: 3" {
puts "<<Using TTST, but it shouldn't be using it>>"
exit_uart -1
}
"Tests Failed : 0" {
puts "<<TFTF Success>>"
exit_uart 0
}
"Tests Passed : 0" {
puts "<<TFTF no tests passed>>"
exit_uart -1
}
-re "Tests Failed : \[^0]" {
puts "<<TFTF Fail>>"
exit_uart -1
}
timeout {
exit_timeout
}
}
exit_uart -1