Sentinel test: minor fixes to --pause-on-error.
This commit is contained in:
parent
afd3db17a0
commit
09dec3613e
@ -124,11 +124,13 @@ proc main {} {
|
|||||||
# on error in order to give the developer a chance to understand more about
|
# on error in order to give the developer a chance to understand more about
|
||||||
# the error condition while the instances are still running.
|
# the error condition while the instances are still running.
|
||||||
proc pause_on_error {} {
|
proc pause_on_error {} {
|
||||||
|
puts ""
|
||||||
puts [colorstr yellow "*** Please inspect the error now ***"]
|
puts [colorstr yellow "*** Please inspect the error now ***"]
|
||||||
puts "\nType \"continue\" to resume the test."
|
puts "\nType \"continue\" to resume the test.\n"
|
||||||
while {[gets stdin] ne {continue}} {
|
while 1 {
|
||||||
puts "> "
|
puts -nonewline "> "
|
||||||
flush stdout
|
flush stdout
|
||||||
|
if {[gets stdin] eq {continue}} break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user