laurenw-arm | 4fcd69a | 2023-03-20 16:28:13 -0500 | [diff] [blame] | 1 | # |
David Vincze | d8ed562 | 2024-02-23 17:00:12 +0100 | [diff] [blame] | 2 | # Copyright (c) 2023-2024, Arm Limited. All rights reserved. |
laurenw-arm | 4fcd69a | 2023-03-20 16:28:13 -0500 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
David Vincze | d8ed562 | 2024-02-23 17:00:12 +0100 | [diff] [blame] | 6 | # Expect script for AP/RSE non-volatile counter platform test |
laurenw-arm | 4fcd69a | 2023-03-20 16:28:13 -0500 | [diff] [blame] | 7 | # |
| 8 | |
| 9 | source [file join [file dirname [info script]] handle-arguments.inc] |
| 10 | |
| 11 | # Trusted Firmware boot section |
| 12 | source [file join [file dirname [info script]] trusted-firmware.inc] |
| 13 | |
Sandrine Bailleux | 28566d9 | 2023-05-05 16:06:51 +0200 | [diff] [blame] | 14 | expect_string "Starting platform tests..." |
| 15 | |
| 16 | expect { |
| 17 | "Platform tests failed." { |
| 18 | exit_uart -1 |
| 19 | } |
| 20 | "Platform tests succeeded." { |
| 21 | exit_uart 0 |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | exit_uart -1 |