* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.

This commit is contained in:
Mark Kettenis 2005-10-31 16:00:46 +00:00
parent 9a2ff3f50c
commit e52b687cc5
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2005-10-31 Mark Kettenis <kettenis@gnu.org>
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
2005-10-17 Paul Gilliam <pgilliam@us.ibm.com> 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg

View File

@ -59,7 +59,7 @@ gdb_test_multiple "set var b32=10.5f" "$test" {
-re "$gdb_prompt $" { -re "$gdb_prompt $" {
pass "$test" pass "$test"
} }
-re "Invalid number" { -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 10.5f)" fail "$test (do not recognize 10.5f)"
} }
} }
@ -69,7 +69,7 @@ gdb_test_multiple "set var b64=20.25f" "$test" {
-re "$gdb_prompt $" { -re "$gdb_prompt $" {
pass "$test" pass "$test"
} }
-re "Invalid number" { -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 20.25f)" fail "$test (do not recognize 20.25f)"
} }
} }
@ -79,7 +79,7 @@ gdb_test_multiple "set var b128=30.375l" "$test" {
-re "$gdb_prompt $" { -re "$gdb_prompt $" {
pass "$test" pass "$test"
} }
-re "Invalid number" { -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 30.375l)" fail "$test (do not recognize 30.375l)"
} }
} }
@ -92,7 +92,7 @@ gdb_test "print b128" ".*9 = 30\.375.*" "The value of b128 is changed to 30.375"
set test "set variable b32 = 100.5a" set test "set variable b32 = 100.5a"
gdb_test_multiple "set var b32=100.5a" "$test" { gdb_test_multiple "set var b32=100.5a" "$test" {
-re "Invalid number" { -re "Invalid number.*$gdb_prompt $" {
pass "$test" pass "$test"
} }
-re "$gdb_prompt $" { -re "$gdb_prompt $" {
@ -102,7 +102,7 @@ gdb_test_multiple "set var b32=100.5a" "$test" {
set test "set variable b64 = 200.25x" set test "set variable b64 = 200.25x"
gdb_test_multiple "set var b64=200.25x" "$test" { gdb_test_multiple "set var b64=200.25x" "$test" {
-re "Invalid number" { -re "Invalid number.*$gdb_prompt $" {
pass "$test" pass "$test"
} }
-re "$gdb_prompt $" { -re "$gdb_prompt $" {
@ -112,7 +112,7 @@ gdb_test_multiple "set var b64=200.25x" "$test" {
set test "set variable b128 = 300.375fl" set test "set variable b128 = 300.375fl"
gdb_test_multiple "set var b128=300.375fl" "$test" { gdb_test_multiple "set var b128=300.375fl" "$test" {
-re "Invalid number" { -re "Invalid number.*$gdb_prompt $" {
pass "$test" pass "$test"
} }
-re "$gdb_prompt $" { -re "$gdb_prompt $" {
@ -122,7 +122,7 @@ gdb_test_multiple "set var b128=300.375fl" "$test" {
set test "set variable b128 = 300.375fff" set test "set variable b128 = 300.375fff"
gdb_test_multiple "set var b128=300.375fff" "$test" { gdb_test_multiple "set var b128=300.375fff" "$test" {
-re "Invalid number" { -re "Invalid number.*$gdb_prompt $" {
pass "$test" pass "$test"
} }
-re "$gdb_prompt $" { -re "$gdb_prompt $" {