Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 1 | # |
Leonardo Sandoval | 579c737 | 2020-10-23 15:23:32 -0500 | [diff] [blame] | 2 | # Copyright (c) 2019-2020 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 | # |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 6 | # If we exit from a secondary uart, and if that had lots of prints, then the |
| 7 | # model will stall. See: https://jira.arm.com/browse/SDDKW-43675. So, we wait |
| 8 | # here expect for something that never arrives. |
| 9 | |
| 10 | set timeout -1 |
| 11 | puts "<<holding terminal>>" |
| 12 | expect { |
| 13 | "FOOBAR" { |
| 14 | exit_uart -1 |
| 15 | } |
| 16 | } |