+2016-12-01 Luis Machado <lgustavo@codesourcery.com>
+
+ * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
+ * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
+ gdb_test_no_output for a couple of cases.
+ * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
+
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names and standardize compilation error messages throughout
-re ".*$gdb_prompt $" {
fail "maint print msymbols"
}
- timeout {
- fail "(timeout) maint print msymbols"
- }
}
gdb_test "shell rm -f msymbols_output2" ".*" \
"shell rm -f msymbols_output2"
-re ".*$gdb_prompt $" {
fail "maint print msymbols"
}
- timeout {
- fail "(timeout) maint print msymbols"
- }
}
}
-re ".*$gdb_prompt $" {
fail "maint print msymbols"
}
- timeout {
- fail "(timeout) maint print msymbols"
- }
}
gdb_test "cd ${mydir}" \
"Working directory [string_to_regexp ${mydir}]\..*" \
# behaviour; it should not. Test both on and off states.
# Turn on unwind on signal behaviour.
-gdb_test_multiple "set unwindonsignal on" "turn unwindonsignal on" {
- -re "$gdb_prompt $" {pass "set unwindonsignal on"}
- timeout {fail "(timeout) set unwindonsignal on"}
-}
+gdb_test_no_output "set unwindonsignal on"
# Check that it is turned on.
gdb_test "show unwindonsignal" \
"To change this behavior use \"set unwindonsignal off\".*"
# And reverse - turn off again.
-gdb_test_multiple "set unwindonsignal off" "turn unwindonsignal off" {
- -re "$gdb_prompt $" {pass "set unwindonsignal off"}
- timeout {fail "(timeout) set unwindonsignal off"}
-}
+gdb_test_no_output "set unwindonsignal off"
# Check that it is actually turned off.
gdb_test "show unwindonsignal" \
gdb_test_multiple " " " " {
-re ".*$gdb_prompt $" {
}
- timeout {
- perror "could not resynchronize to command prompt (timeout)"
- continue
- }
}
}