This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Merge mi-cli.exp and mi2-cli.exp
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 03 Sep 2012 13:08:08 +0400
- Subject: Re: [RFC] Merge mi-cli.exp and mi2-cli.exp
- References: <1346419770-5718-1-git-send-email-yao@codesourcery.com>
On 31.08.2012 17:29, Yao Qi wrote:
Unless I miss something, the intention of copying tests here is to test
both '-i=mi' and '-i=mi2' respectively. However, this duplicates the code,
and increase the effort to maintain, IMO.
Yep, that was the intent -- with the extra twist that tests for MI and MI2 are not necessary
identical. In other words, MI2 tests are tests for MI2 when MI2 was declared "done", and the
idea was that the output with "-i=mi2" would remain the same for years. -i=mi is our current
version of MI, which may evolve, and when MI3 is declared "done", the current tests will
be copied to mi3-* tests to keep backward compatibility in future.
I am not quite sure how relevant this plan is these days.
- Volodya