Leonardo Sandoval | 6eff3f7 | 2021-05-03 11:12:37 -0500 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2021 Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | # Expect script for Trusted Firmware Test Framework |
| 7 | # |
| 8 | |
Paul Sokolovsky | eece6f7 | 2021-12-01 15:04:29 +0300 | [diff] [blame] | 9 | source $ci_root/expect-lava/trusted-firmware.inc |
Leonardo Sandoval | 6eff3f7 | 2021-05-03 11:12:37 -0500 | [diff] [blame] | 10 | |
| 11 | prompt='Booting trusted firmware test framework' |
Paul Sokolovsky | 8612170 | 2023-06-14 22:09:05 +0300 | [diff] [blame] | 12 | failures='Panic:' |
| 13 | expect_string+=("i;${prompt};;${failures}") |
Leonardo Sandoval | 34f5183 | 2021-11-04 16:42:04 -0600 | [diff] [blame] | 14 | |
| 15 | prompt='Running at NS-EL(1|2)' |
| 16 | expect_string+=("i;${prompt}") |
Leonardo Sandoval | 6eff3f7 | 2021-05-03 11:12:37 -0500 | [diff] [blame] | 17 | |
| 18 | prompt='Tests Failed : 0' |
Paul Sokolovsky | 73a067b | 2023-08-05 16:13:21 +0300 | [diff] [blame] | 19 | failures='Unhandled exception on |Tests Failed : [^0]' |
Paul Sokolovsky | 84f6885 | 2023-06-15 08:49:47 +0300 | [diff] [blame] | 20 | expect_string+=("i;${prompt};;${failures}") |
Leonardo Sandoval | 34f5183 | 2021-11-04 16:42:04 -0600 | [diff] [blame] | 21 | |
| 22 | prompt='Exiting tests.' |
Leonardo Sandoval | 6eff3f7 | 2021-05-03 11:12:37 -0500 | [diff] [blame] | 23 | failures='Tests Passed : 0' |
Leonardo Sandoval | 34f5183 | 2021-11-04 16:42:04 -0600 | [diff] [blame] | 24 | expect_string+=("i;${prompt};;${failures}") |