clean_restart ${binfile}
gdb_run_cmd
-gdb_expect {
- -re "$gdb_prompt $" {
- pass "run program to completion"
- }
- timeout {
- fail "run program to completion (timeout)"
- }
-}
+gdb_test "" "" "run program to completion"
# Try to quit.
send_gdb "quit\n"