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