gdb/testsuite/

Code cleanup.
	* gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
	Convert send_gdb and gdb_expect to gdb_test_multiple.
This commit is contained in:
Jan Kratochvil 2011-11-25 23:53:45 +00:00
parent 50b4ddf832
commit fb0aec578b
2 changed files with 9 additions and 5 deletions

View File

@ -4,6 +4,10 @@
* gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
Wrap send_gdb into a new gdb_test.
Code cleanup.
* gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
Convert send_gdb and gdb_expect to gdb_test_multiple.
2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.

View File

@ -632,12 +632,12 @@ gdb_test "break $end_sse4_test" \
"Breakpoint $decimal at .* line $end_sse4_test\." \
"set breakpoint at end of sse4_test"
send_gdb "continue\n"
gdb_expect {
-re " end sse4_test .*" {
pass "continue to end of sse4_test"
set test "continue to end of sse4_test"
gdb_test_multiple "continue" $test {
-re " end sse4_test .*\r\n$gdb_prompt $" {
pass $test
}
-re " Illegal instruction.*" {
-re " Illegal instruction.*\r\n$gdb_prompt $" {
untested i386-sse4-reverse
return -1
}