This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Merge mi-cli.exp and mi2-cli.exp


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]