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