Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame^] | 1 | # |
2 | # Copyright (c) 2019, Arm Limited. All rights reserved. | ||||
3 | # | ||||
4 | # SPDX-License-Identifier: BSD-3-Clause | ||||
5 | # | ||||
6 | |||||
7 | # If we exit from a secondary uart, and if that had lots of prints, then the | ||||
8 | # model will stall. See: https://jira.arm.com/browse/SDDKW-43675. So, we wait | ||||
9 | # here expect for something that never arrives. | ||||
10 | |||||
11 | set timeout -1 | ||||
12 | puts "<<holding terminal>>" | ||||
13 | expect { | ||||
14 | "FOOBAR" { | ||||
15 | exit_uart -1 | ||||
16 | } | ||||
17 | } |