From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6921 invoked by alias); 3 Sep 2012 09:08:45 -0000 Received: (qmail 6907 invoked by uid 22791); 3 Sep 2012 09:08:43 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Sep 2012 09:08:29 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T8Sdu-0000ef-9j for gdb-patches@sources.redhat.com; Mon, 03 Sep 2012 11:08:26 +0200 Received: from h86-62-88-129.ln.rinet.ru ([86.62.88.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Sep 2012 11:08:26 +0200 Received: from ghost by h86-62-88-129.ln.rinet.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Sep 2012 11:08:26 +0200 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: [RFC] Merge mi-cli.exp and mi2-cli.exp Date: Mon, 03 Sep 2012 09:08:00 -0000 Message-ID: References: <1346419770-5718-1-git-send-email-yao@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 In-Reply-To: <1346419770-5718-1-git-send-email-yao@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00011.txt.bz2 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