Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFA: valgrind and the test suite, take 2
Date: Fri, 19 Feb 2010 20:28:00 -0000	[thread overview]
Message-ID: <201002192028.30653.pedro@codesourcery.com> (raw)
In-Reply-To: <m3ocjl804f.fsf@fleche.redhat.com>

On Friday 19 February 2010 20:02:40, Tom Tromey wrote:
> >>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
> 
> Pedro> On Friday 19 February 2010 17:23:52, Tom Tromey wrote:
> >> This patch adds support for valgrind to the test suite.  Unlike my last
> >> patch along these lines, this one adds value above just setting GDB.
> 
> Pedro> Couldn't this be done with a board file?
> 
> Maybe, but then it won't be in the tree, and it won't be documented.

Those are both fixable.  I don't know if you seen my other
more recent email.

> If that is an objection, could you explain why you'd prefer it to be
> done that way?

It's not an objection that I'll spend much more energy
defending, but FYI, I prefer not to hack specific solutions
when a more general solution already exists.  Another advantange
is that you can tweak it to your hearts content without
having to touch generic testsuite code.  If it allows things
that a board file doesn't, then it's another story.  But maybe
that could be considered a problem of missing hooks instead.

> The point of doing it this way is to encourage more frequent runs using
> valgrind.  

What's wrong with encouraging testing with a board file?
We do the same for local gdbserver testing.  We could come
up with N other board files that did similar things.

> I find bugs with valgrind so often that I wish this mode of
> running were the default.

If it's not going to be made the default, then that's
irrelevant.

-- 
Pedro Alves


  reply	other threads:[~2010-02-19 20:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19 17:24 Tom Tromey
2010-02-19 17:45 ` Pedro Alves
2010-02-19 18:09   ` Joel Brobecker
2010-02-19 19:34     ` Pedro Alves
2010-02-19 20:24       ` Joel Brobecker
2010-02-19 20:02   ` Tom Tromey
2010-02-19 20:28     ` Pedro Alves [this message]
2010-02-19 21:09       ` Tom Tromey
2010-02-19 21:27         ` Pedro Alves
2010-02-19 18:42 ` Eli Zaretskii

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=201002192028.30653.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@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