blob: a85503050ff64a5e4e9f15253c3f14fe289ab258 [file] [log] [blame]
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -05001#
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 Sokolovskyeece6f72021-12-01 15:04:29 +03009source $ci_root/expect-lava/trusted-firmware.inc
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -050010
11prompt='Booting trusted firmware test framework'
Paul Sokolovsky86121702023-06-14 22:09:05 +030012failures='Panic:'
13expect_string+=("i;${prompt};;${failures}")
Leonardo Sandoval34f51832021-11-04 16:42:04 -060014
15prompt='Running at NS-EL(1|2)'
16expect_string+=("i;${prompt}")
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -050017
18prompt='Tests Failed : 0'
Paul Sokolovsky73a067b2023-08-05 16:13:21 +030019failures='Unhandled exception on |Tests Failed : [^0]'
Paul Sokolovsky84f68852023-06-15 08:49:47 +030020expect_string+=("i;${prompt};;${failures}")
Leonardo Sandoval34f51832021-11-04 16:42:04 -060021
22prompt='Exiting tests.'
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -050023failures='Tests Passed : 0'
Leonardo Sandoval34f51832021-11-04 16:42:04 -060024expect_string+=("i;${prompt};;${failures}")