blob: ec241ef46c2706f46ef151c1083e6c5ed105c5b6 [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05002# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
Fathi Boudra422bf772019-12-02 11:10:16 +02006# Expect script for Trusted Firmware Test Framework
7#
8
9source [file join [file dirname [info script]] handle-arguments.inc]
10
11expect_string "Initial lookup level: 3"
12
13expect_string "Booting trusted firmware test framework" "Starting TFTF"
14
15expect {
16 "Tests Failed : 0" {
17 puts "<<TFTF Success>>"
18 exit_uart 0
19 }
20 "Tests Passed : 0" {
21 puts "<<TFTF no tests passed>>"
22 exit_uart -1
23 }
24 -re "Tests Failed : \[^0]" {
25 puts "<<TFTF Fail>>"
26 exit_uart -1
27 }
28 timeout {
29 exit_timeout
30 }
31}
32
33exit_uart -1