From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches <gdb-patches@sources.redhat.com>
Subject: Re: [PATCH]: testsuite/gdb.base/ending-run.*
Date: Tue, 18 Sep 2001 08:26:00 -0000 [thread overview]
Message-ID: <20010918172615.C28304@cygbert.vinschen.de> (raw)
In-Reply-To: <3BA75FE1.C13959A2@redhat.com>
On Tue, Sep 18, 2001 at 10:53:21AM -0400, Fernando Nasser wrote:
> Corinna Vinschen wrote:
> >
> > On Tue, Sep 18, 2001 at 09:28:19AM -0400, Fernando Nasser wrote:
> > > Thanks for the patch.
> > >
> > > It is approved with a small change (see below). It is OK fr the tests
> > > to expect alternative patterns depending on the target, but the
> > > test identification must remain the same nevertheless (it would
> > > confuse people's test result analysis scripts otherwise).
> > > The reference that matches the pattern to the architecture must
> > > be on the comment (only).
> > >
> > > Regards,
> > > Fernando
> > >
> > > P.S.: It is OK to still say "ARM thumb" as ARM is the reference
> > > architecture
> > > that is licensed by chip manufacturers (it is still ARM at the core).
> >
> > I'm sorry about that. It's not an ARM in thumb mode. I just
> > copied the text from the case below and didn't remove the "thumb"
> > text. It should be
> >
> > pass "step out of main on Stormy16"
> >
> > Still ok?
> >
>
> No, all the "pass" statements (as well as the "fail", "xfail" etc.) must
> have the same test id string. In this case, all the "-re" patterns
> must result in a "pass" or "fail" with that same string (except that the
> "fail" may have a reason between parenthesis after the test id string,
> like "(timeout)" for instance).
I don't understand the difference in my case. The output strings
are already different:
-re ".*Program exited normally.*$gdb_prompt $" {
# This is what happens on Linux i86 (and I would expect others)
set program_exited 1
pass "step out of main"
}
-re ".*in .nope ().*$gdb_prompt $" {
# This is what happens on Solaris currently -sts 1999-08-25
pass "step out of main on Solaris"
}
-re ".*in ..change.mode ().*$gdb_prompt $" {
# This is what happens on ARM in thumb mode -fn 2000-02-01
pass "step out of main on ARM thumb"
}
Why should my non-ARM target use the ARM specific output?!?
Corinna
next prev parent reply other threads:[~2001-09-18 8:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-12 7:46 Corinna Vinschen
2001-09-18 6:32 ` Fernando Nasser
2001-09-18 7:42 ` Corinna Vinschen
2001-09-18 7:57 ` Fernando Nasser
2001-09-18 8:26 ` Corinna Vinschen [this message]
2001-09-18 9:34 ` Fernando Nasser
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=20010918172615.C28304@cygbert.vinschen.de \
--to=vinschen@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