blob: d05509fd39d3b72d0fb6450a2fec4101c1ad6b4e [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 {
12 "Initial lookup level: 3" {
13 puts "<<Using TTST, but it shouldn't be using it>>"
14 exit_uart -1
15 }
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