Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, Marek Polacek <mpolacek@redhat.com>,
	       Joel Brobecker <brobecker@adacore.com>
Subject: Re: [RFC] Fixing gdb.base/completion.exp (PR testsuite/12649)
Date: Mon, 02 May 2011 16:35:00 -0000	[thread overview]
Message-ID: <20110502163418.GA30891@host1.jankratochvil.net> (raw)
In-Reply-To: <201105021709.51088.pedro@codesourcery.com>

On Mon, 02 May 2011 18:09:50 +0200, Pedro Alves wrote:
> This is about completion, using one form or the other.
> We could move the "\t" form to readline-completion.exp,
> but I think a systematic approach to testing all the
> completion methods is better, and helps maintenance in the
> long run.

I was addressing this by the readline/ and gdb/ parts testing differentiation,
the first paragraph of my mail.


> > I understand one cannot change the whole codebase to a better / more
> > maintainable form over night but when there are attempts and patches offered
> > IMO the current codebase should not be actively kept worse.
> 
> I took the time investigate the original issues with the code, write a patch
> to fix them, explain the problems and the proposed fixes, in order to not keep the
> knowledge to myself, and I've posted the beginnings of a patch that cleans
> up the test further.  I don't think it's fair to suggest I'm trying to keep
> anything worse.

There was the proposal using gdb_test "complete ...":
	Re: [RFC] Fixing gdb.base/completion.exp (PR testsuite/12649)
	http://sourceware.org/ml/gdb-patches/2011-04/msg00538.html
(I do not have that mail reviewed but it gives the idea.)

I consider the gdb_test "complete ..." testfile better than the (even fixed)
send_gdb-gdb_expect testfile.  Therefore I consider proposing the
send_gdb-gdb_expect testfile over the gdb_test "complete ..." testfile as
"actively trying to keep the testfile worse".

But there is the point that you do not consider the gdb_test "complete ..."
method having the same testing coverage as the "\t" testing method.  This is
the point where we do not agree and I agree in such case the gdb_test
"complete ..." change is not acceptable (for you).


Thanks,
Jan


  reply	other threads:[~2011-05-02 16:35 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 14:59 Marek Polacek
2011-04-27 15:05 ` Joel Brobecker
2011-04-27 15:13   ` Tom Tromey
2011-04-27 15:23   ` Pedro Alves
2011-04-27 17:41     ` Marek Polacek
2011-04-28 14:19       ` Pedro Alves
2011-04-28 15:14         ` Pedro Alves
2011-04-29 14:10           ` Marek Polacek
2011-05-02 14:58             ` Pedro Alves
2011-05-01  9:17           ` Jan Kratochvil
2011-05-02 14:00             ` Marek Polacek
2011-05-02 14:19             ` Pedro Alves
2011-05-02 14:53               ` Jan Kratochvil
2011-05-02 15:30                 ` Pedro Alves
2011-05-02 15:44                   ` Joel Brobecker
2011-05-02 15:50                     ` Pedro Alves
2011-05-02 15:56                   ` Jan Kratochvil
2011-05-02 16:10                     ` Pedro Alves
2011-05-02 16:35                       ` Jan Kratochvil [this message]
2011-05-02 16:54                         ` Pedro Alves
2011-05-02 17:04                           ` Jan Kratochvil
2011-05-02 17:21                             ` Jan Kratochvil
2011-05-02 17:23                             ` Pedro Alves
2011-05-02 17:29                               ` Jan Kratochvil
2011-05-02 17:53                                 ` Pedro Alves
2011-05-02 17:56                                   ` Pedro Alves
2011-05-05 15:11                 ` Tom Tromey
2011-04-28 11:56 ` Marek Polacek

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=20110502163418.GA30891@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mpolacek@redhat.com \
    --cc=pedro@codesourcery.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