Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame^] | 1 | # |
2 | # Copyright (c) 2019, Arm Limited. All rights reserved. | ||||
3 | # | ||||
4 | # SPDX-License-Identifier: BSD-3-Clause | ||||
5 | # | ||||
6 | |||||
7 | # | ||||
8 | # Expect script | ||||
9 | # | ||||
10 | |||||
11 | source [file join [file dirname [info script]] handle-arguments.inc] | ||||
12 | |||||
13 | # Expect the test to have set a fault message | ||||
14 | if {![info exists ::env(tftf_fault_msg)]} { | ||||
15 | puts "Fault message not set" | ||||
16 | exit_uart -1 | ||||
17 | } | ||||
18 | |||||
19 | expect_string "$env(tftf_fault_msg)" | ||||
20 | exit_uart 0 |