From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: ac131313@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [rfa] New test sigbpt.{c,exp}
Date: Wed, 30 Jun 2004 03:53:00 -0000 [thread overview]
Message-ID: <20040630035317.5BEF84B104@berman.michael-chastain.com> (raw)
Mostly okay, but there's too many duplicated test names.
% cat gdb.sum | sort | uniq -c | sort -rn
8 PASS: gdb.base/sigbpt.exp: pass SIGSEGV for no breakpoints
7 PASS: gdb.base/sigbpt.exp: rerun to main
4 PASS: gdb.base/sigbpt.exp: continue to keeper for no breakpoints
3 PASS: gdb.base/sigbpt.exp: stepi fault for no breakpoints
3 PASS: gdb.base/sigbpt.exp: continue to breakpoint at fault for no breakpoints
2 PASS: gdb.base/sigbpt.exp: pass SIGSEGV for bp before segv
2 PASS: gdb.base/sigbpt.exp: pass SIGSEGV for bp before and at segv
2 PASS: gdb.base/sigbpt.exp: pass SIGSEGV for bp at segv
Can you make more of the test names more unique?
I'm not worried about stuff like "rerun to main" where if the test
fails then something is really wrong with gdb anyways. I'm more
concerned with multiple identical blocks like this:
gdb_test "handle SIGSEGV nostop print pass" "" "pass SIGSEGV for $name"
gdb_test "continue" "keeper.*" "continue to keeper for $name"
gdb_test "handle SIGSEGV stop print nopass" "" "pass SIGSEGV for $name"
If one of these fails, and all we have is the name of the test
(which is normal), then we don't know which test failed.
Also I'm getting four FAIL results (native i686-pc-linux-gnu,
red hat 8.0, gcc 3.3.3, binutils 2.15, glibc 2.2.93-5-rh,
kernel 2.4.8-14-rh).
FAIL: gdb.base/sigbpt.exp: stepi out of handler for no breakpoints (executed fault insn)
FAIL: gdb.base/sigbpt.exp: stepi out of handler for bp before segv (executed fault insn)
FAIL: gdb.base/sigbpt.exp: stepi out of handler for bp at segv
FAIL: gdb.base/sigbpt.exp: stepi out of handler for bp before and at segv
Is that a fault of the system under test, or a fault of the test script?
Your message implies the former (because it passes with a hacked kernel),
but I just want to check.
Last, a typo:
set test "Verify that SIGSEGV occures at the last STEPI insn"
Michael C
next reply other threads:[~2004-06-30 3:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-30 3:53 Michael Elizabeth Chastain [this message]
2004-06-30 15:25 ` Andrew Cagney
2004-06-30 15:30 ` Daniel Jacobowitz
2004-07-02 13:24 ` Andrew Cagney
-- strict thread matches above, loose matches on Subject: below --
2004-07-07 18:39 Michael Elizabeth Chastain
2004-07-06 18:59 Michael Elizabeth Chastain
2004-07-06 19:29 ` Andrew Cagney
2004-07-07 17:31 ` Andrew Cagney
2004-07-08 14:28 ` Daniel Jacobowitz
2004-07-06 18:12 Michael Elizabeth Chastain
2004-07-06 18:30 ` Daniel Jacobowitz
2004-06-30 18:53 Michael Elizabeth Chastain
2004-07-06 15:10 ` Andrew Cagney
2004-07-06 15:35 ` Daniel Jacobowitz
2004-07-06 16:00 ` Andrew Cagney
2004-06-29 23:44 Andrew Cagney
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=20040630035317.5BEF84B104@berman.michael-chastain.com \
--to=mec.gnu@mindspring.com \
--cc=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/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