blob: e18a4ff42b38c2afd47b8c20c01ced12c2cd74f9 [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/disable_dyn_auth.inc
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -050010
11prompt='Booting trusted firmware test framework'
Paul Sokolovskyf06ebd22024-02-08 12:58:44 +070012failures='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]'
20expect_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}")