blob: eca232760fff93ca707beceae48578a51b961a7e [file] [log] [blame]
#
# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Expect script
#
source [file join [file dirname [info script]] handle-arguments.inc]
# If we exit from the uart, and if that had lots of prints, then the model
# will stall. This may also occur even when the uart does not have any print.
# See: https://jira.arm.com/browse/SDDKW-43675. So, we wait here expect for
# something that never arrives.
set timeout -1
puts "<<holding terminal>>"
expect {
"FOOBAR" {
exit_uart -1
}
}