From: kettenis@gnu.org
To: gdb-patches@sourceware.org
Subject: [commit] Properly anchor gdb_test_multiple in bfp-test.exp
Date: Mon, 31 Oct 2005 18:16:00 -0000 [thread overview]
Message-ID: <200510311600.j9VG0mi7019020@jop31.nfra.nl> (raw)
Committed as obvious.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
Index: gdb.base/bfp-test.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/bfp-test.exp,v
retrieving revision 1.1
diff -u -p -r1.1 bfp-test.exp
--- gdb.base/bfp-test.exp 20 Sep 2005 09:01:14 -0000 1.1
+++ gdb.base/bfp-test.exp 31 Oct 2005 15:59:30 -0000
@@ -59,7 +59,7 @@ gdb_test_multiple "set var b32=10.5f" "$
-re "$gdb_prompt $" {
pass "$test"
}
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 10.5f)"
}
}
@@ -69,7 +69,7 @@ gdb_test_multiple "set var b64=20.25f" "
-re "$gdb_prompt $" {
pass "$test"
}
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 20.25f)"
}
}
@@ -79,7 +79,7 @@ gdb_test_multiple "set var b128=30.375l"
-re "$gdb_prompt $" {
pass "$test"
}
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 30.375l)"
}
}
@@ -92,7 +92,7 @@ gdb_test "print b128" ".*9 = 30\.375.*"
set test "set variable b32 = 100.5a"
gdb_test_multiple "set var b32=100.5a" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {
@@ -102,7 +102,7 @@ gdb_test_multiple "set var b32=100.5a" "
set test "set variable b64 = 200.25x"
gdb_test_multiple "set var b64=200.25x" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {
@@ -112,7 +112,7 @@ gdb_test_multiple "set var b64=200.25x"
set test "set variable b128 = 300.375fl"
gdb_test_multiple "set var b128=300.375fl" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {
@@ -122,7 +122,7 @@ gdb_test_multiple "set var b128=300.375f
set test "set variable b128 = 300.375fff"
gdb_test_multiple "set var b128=300.375fff" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {
next reply other threads:[~2005-10-31 16:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-31 18:16 kettenis [this message]
2005-11-01 9:44 ` Wu Zhou
2005-11-01 13:55 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200510311600.j9VG0mi7019020@jop31.nfra.nl \
--to=kettenis@gnu.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox