Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4CTj-0007dW-8b for qemu-devel@nongnu.org; Thu, 05 Jun 2008 06:13:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4CTf-0007d4-2L for qemu-devel@nongnu.org; Thu, 05 Jun 2008 06:13:52 -0400 Received: from [199.232.76.173] (port=59570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4CTe-0007cq-1k for qemu-devel@nongnu.org; Thu, 05 Jun 2008 06:13:50 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:8073) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4CTd-0000Aa-R9 for qemu-devel@nongnu.org; Thu, 05 Jun 2008 06:13:50 -0400 Received: from mariner.uk.xensource.com ([10.80.2.22]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id m55ADhQB009854 for ; Thu, 5 Jun 2008 03:13:44 -0700 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1K4CTS-00064D-DO for qemu-devel@nongnu.org; Thu, 05 Jun 2008 11:13:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18503.48210.408423.146974@mariner.uk.xensource.com> Date: Thu, 5 Jun 2008 11:13:38 +0100 Subject: Re: [Qemu-devel] Suggestion for testing framework In-Reply-To: <200806032325.02120.paul@codesourcery.com> References: <767386.58386.qm@web57006.mail.re3.yahoo.com> <200806032302.09778.paul@codesourcery.com> <5d6222a80806031505t15f18fe7u256514ccbdc9960@mail.gmail.com> <200806032325.02120.paul@codesourcery.com> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Paul Brook writes ("Re: [Qemu-devel] Suggestion for testing framework"): > We were talking about a tester that does periodic long running tests off svn > trunk, and reports the results. Individual developers are not directly > involved. Just reporting the results is all very well, but as others have said testing is only useful with a very firm commitment to deal with the results of reports. Few Free Software projects can manage to do this without some kind of formal and automatic linkage of QA passes into code distribution or propagation. Without that, continuous discipline is needed - and if it ever slips, the test failures become an ever-deepening swamp. One common approach to this problem used with success in very different ways by both Debian and Xen and probably many others, is to maintain parallel branches: one (call it `unstable') is changed freely, and the other (call it `testing') is updated from unstable only when the QA criteria (whatever those are) are met. If there is some reason why the testing version has to be up to date, this naturally leads to developers working on fixing test failures because they end up blocking on it. In Debian this is achieved (more or less) by the fact that `testing' will form the basis of the next release and is the only route to wide deployment; in Xen the testing tree (called `xen-unstable') is actually the one that's widely publicised and against which all submitters are expected to submit patches. I'm not sure exactly what would be the best corresponding model for Qemu. One idea might be to decree that while the testing tree is broken, changes other than ones to fix it are forbidden. There is one other unfortunate problem with the scheme above: this mode of working is much harder to support without a version control system that does merge-tracking. With such a vcs, everything can be largely automatic, including adjusting patches submitted against testing to apply to unstable. With svn such a workflow would be nearly impossible. Ian.