Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 1 | # |
Chris Kay | d4d95f7 | 2022-11-15 11:59:01 +0000 | [diff] [blame] | 2 | # Copyright (c) 2019-2022 Arm Limited. All rights reserved. |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
Chris Kay | d4d95f7 | 2022-11-15 11:59:01 +0000 | [diff] [blame] | 6 | |
| 7 | # |
| 8 | # If we exit from the UART when any of the model's UARTs receive lots of prints |
| 9 | # then the model will stall, so we either wait for the UART to close naturally |
| 10 | # or we wait for somebody to explicitly tell us to exit. |
| 11 | # |
| 12 | # https://jira.arm.com/browse/SDDKW-43675 |
| 13 | # |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 14 | |
| 15 | set timeout -1 |
Chris Kay | d4d95f7 | 2022-11-15 11:59:01 +0000 | [diff] [blame] | 16 | |
| 17 | source [file join [file dirname [info script]] terminable.inc] |
| 18 | |
Chris Kay | c4f0072 | 2022-11-15 12:24:24 +0000 | [diff] [blame] | 19 | message "test complete, waiting for EOF or SIGINT" |
Chris Kay | d4d95f7 | 2022-11-15 11:59:01 +0000 | [diff] [blame] | 20 | expect eof |