From: Pedro Alves <palves@redhat.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 0/11] Cleanup MI test cases
Date: Fri, 28 Sep 2012 19:36:00 -0000 [thread overview]
Message-ID: <5065FC2B.6060604@redhat.com> (raw)
In-Reply-To: <1348790666-2544-1-git-send-email-yao@codesourcery.com>
On 09/28/2012 01:04 AM, Yao Qi wrote:
> Hi,
> This is a follow up to this thread,
>
> Re: [RFC] Merge mi-cli.exp and mi2-cli.exp
> http://sourceware.org/ml/gdb-patches/2012-09/msg00155.html
>
> in which we discussed that we are only using mi2 so far and some test
> cases are redundant. This patch is to get rid of the redundancy in
> test cases.
>
> Patch 01/11 simply removes mi-FOO.exp, because they are identical to
> mi2-FOO.exp. The rest of the patches merge mi-foo.exp with mi2-foo.exp,
> and remove mi-foo.exp.
This is great, but I think it went the wrong direction. :-/
We have more mi-* files and more changes to mi-* files than the
other way around:
ls mi-* | wc -l
54
grep-changelog --text "gdb.mi/mi-" ../ChangeLog | grep "^2" | wc -l
412
vs
ls mi2-* | wc -l
26
grep-changelog --text "gdb.mi/mi2-" ../ChangeLog | grep "^2" | wc -l
210
And that makes sense because the mi2-* files were originally created as
copies of the existing mi-* files, and the mi-* files supposedly continued
to evolve, until some point in the future when mi3 would be finalized (at which
point we'd again fork the mi3-* copies). The mi2-* file were supposedly
cast in stone once the copying was done (on 2003-08-07).
Is it hard to redo things a bit to end up with only the mi- files instead?
I'd think that something around "mv mi2-foo.exp mi-foo.exp", plus
"git add mi-foo.exp", and maybe squash that commit back would get
you that effect without needing to really redo things.
> Note that this patch set doesn't cover mi2-var-child.exp and
> mi-var-child.exp, because they diverge too much for me to handle.
--
Pedro Alves
next prev parent reply other threads:[~2012-09-28 19:36 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 13:29 [RFC] Merge mi-cli.exp and mi2-cli.exp Yao Qi
2012-09-03 9:08 ` Vladimir Prus
2012-09-03 15:55 ` Yao Qi
2012-09-05 0:29 ` Stan Shebs
2012-09-10 20:09 ` Tom Tromey
2012-09-11 15:15 ` Pedro Alves
2012-09-11 21:53 ` Stan Shebs
2012-09-12 15:28 ` Pedro Alves
2012-09-12 13:59 ` Yao Qi
2012-09-19 11:22 ` Yao Qi
2012-09-19 13:47 ` Pedro Alves
2012-09-21 8:40 ` Yao Qi
2012-09-28 0:04 ` [PATCH 0/11] Cleanup MI test cases Yao Qi
2012-09-28 0:04 ` [PATCH 05/11] mi-pthreads.exp Yao Qi
2012-09-28 0:04 ` [PATCH 02/11] mi-var-block.exp Yao Qi
2012-09-28 0:05 ` [PATCH 06/11] mi-break.exp Yao Qi
2012-09-28 0:05 ` [PATCH 01/11] Remove mi-FOO.exp which are identical to mi2-FOO.exp Yao Qi
2012-09-28 0:05 ` [PATCH 11/11] mi-syn-frame.exp Yao Qi
2012-09-28 0:05 ` [PATCH 08/11] mi-var-display.exp Yao Qi
2012-09-28 0:05 ` [PATCH 09/11] mi-console.exp Yao Qi
2012-09-28 0:05 ` [PATCH 10/11] mi-stack.exp Yao Qi
2012-09-28 0:05 ` [PATCH 03/11] mi-file.exp Yao Qi
2012-09-28 0:05 ` [PATCH 04/11] mi-basics.exp Yao Qi
2012-09-28 0:05 ` [PATCH 07/11] mi-var-cmd.exp Yao Qi
2012-09-28 19:36 ` Pedro Alves [this message]
2012-10-12 9:47 ` [PATCH 0/11] Cleanup MI test cases Yao Qi
2012-10-12 10:05 ` Pedro Alves
2012-10-14 12:25 ` [committed] : " Yao Qi
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=5065FC2B.6060604@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=yao@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