Chris Kay | 38c6896 | 2022-11-15 11:15:07 +0000 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (c) 2022, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | puts "<<test completed, waiting for EOF or timeout>>" |
| 8 | |
| 9 | expect { |
| 10 | "Exiting tests." { |
| 11 | puts "<<expected hang, found TFTF completion>>" |
| 12 | } |
| 13 | |
| 14 | "PANIC in EL3." { |
| 15 | puts "<<expected hang, found crash dump>>" |
| 16 | } |
| 17 | |
| 18 | "Unhandled Exception in EL3." { |
| 19 | puts "<<expected hang, found crash dump>>" |
| 20 | } |
| 21 | |
| 22 | "Unhandled Exception from EL" { |
| 23 | puts "<<expected hang, found crash dump>>" |
| 24 | } |
| 25 | |
| 26 | eof { |
| 27 | puts "<<stream closed as expected, exiting>>" |
| 28 | exit 0 |
| 29 | } |
| 30 | |
| 31 | timeout { |
| 32 | puts "<<timeout triggered as expected, exiting>>" |
| 33 | exit_uart 0 |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | exit_uart -1 |