Zelalem | fd529af | 2020-08-04 15:09:53 -0500 | [diff] [blame^] | 1 | # |
2 | # Copyright (c) 2019, Arm Limited. All rights reserved. | ||||
3 | # | ||||
4 | # SPDX-License-Identifier: BSD-3-Clause | ||||
5 | # | ||||
6 | # Expect script for Trusted Firmware Test Framework | ||||
7 | # | ||||
8 | |||||
9 | source [file join [file dirname [info script]] handle-arguments.inc] | ||||
10 | |||||
11 | # Value for trap BRK instruction | ||||
12 | set trap_value 0x00003e8 | ||||
13 | |||||
14 | expect { | ||||
15 | "Unexpected BRK instruction with value $trap_value" { | ||||
16 | exit_uart 0 | ||||
17 | } | ||||
18 | |||||
19 | timeout { | ||||
20 | exit_uart -1 | ||||
21 | } | ||||
22 | } | ||||
23 | |||||
24 | exit_uart -1 |