From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10512 invoked from network); 24 Feb 2005 11:35:42 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 24 Feb 2005 11:35:42 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D4HVF-0004jm-1L for listarch-gnats-devel@sources.redhat.com; Thu, 24 Feb 2005 06:49:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D4Gr0-0005nU-11 for help-gnats@gnu.org; Thu, 24 Feb 2005 06:08:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D4Gqr-0005n1-5A for help-gnats@gnu.org; Thu, 24 Feb 2005 06:08:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D4Gbj-000593-5B for help-gnats@gnu.org; Thu, 24 Feb 2005 05:52:35 -0500 Received: from [195.138.79.154] (helo=relay.apk.od.ua) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D4GNs-0004Zm-Qm for help-gnats@gnu.org; Thu, 24 Feb 2005 05:38:17 -0500 Received: from nostromo.holding.local (nostromo.holding.local [10.1.1.8]) by relay.apk.od.ua (8.12.11/8.12.11) with SMTP id j1OAcAOV012653; Thu, 24 Feb 2005 12:38:10 +0200 (EET) Date: Thu, 24 Feb 2005 11:35:00 -0000 From: "Mike M. Volokhov" To: Mel Hatzis Message-Id: <20050224123809.7f0978ba.mishka@apk.od.ua> In-Reply-To: <421D926B.1020605@wattes.org> References: <4219D63F.4060909@wattes.org> <421C2C84.3090509@wattes.org> <20050223234508.GA24914@wookimus.net> <421D7928.3080600@wattes.org> <20050224094604.53e8e756.mishka@apk.od.ua> <421D926B.1020605@wattes.org> Organization: Insakharprom-K, Ltd. X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386--netbsdelf) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/721/Tue Feb 22 16:01:26 2005 clamav-milter version 0.80j on betty.holding.local X-Virus-Status: Clean Cc: chewie@wookimus.net, help-gnats@gnu.org Subject: Re: patch #1 - towards a generic backend datastore X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2005-q1/txt/msg00043.txt.bz2 On Thu, 24 Feb 2005 00:38:03 -0800 Mel Hatzis wrote: > Mike M. Volokhov wrote: > > On Wed, 23 Feb 2005 22:50:16 -0800 > > Mel Hatzis wrote: > > > > [snip] > > > >>OK, I'll go ahead and commit to the mainline tomorrow morning (PST). > >>Note that I ran the changes through a fairly comprehensive set of > >>regression tests (which I put together) and they appear to be sound. > > > > > > Wow. I'd love to see such tests in tree so as when huge changes come, > > it's sometimes bit difficult to found underwater stones. Many thanks! > > If there's general interest in incorporating the test suite I have, > I'd be happy to try and set something up. > > There's a perl component in it though...for setting up a test database > against which the regression tests are run. I'm not sure how people > feel about adding a perl dependency to the mix. These checks are needed to developers or beta-users only, when other users ususally will not ran any regression tests at all. Thus IMHO it can be implemented in any covenient way. > My original idea was to have the tests run via a 'make test, but this > was not possible since GNATS needs to be (partly) installed in order > to run...the binaries all have a hard-wired reference to the 'databases' > file. We could fairly easily overcome this by modifying the binaries > to allow the databases file to be supplied...either by environment > variable or command line option (or both). Hmm... We also may create a database named, say "testdb", and encourage testers add the following line to databases file: testdb:GNATS Test Database:/path/to/testdb But we must use a new executables, which can use any path to databases, specified at compilation time. I'm pesonally have my own copy of the GNATS installation and test database by specifying --prefix=/usr/home/mishka/gnats at configure stage. For regression tests I believe there are no needs of running gnatsd via network. > The perl requirement could perhaps, be resolved, by simply committing > the generated database to the mix. Well, why not commit both (if database is not huge)? The database creation may be another important part of test itself. Moreover, testers can download reference database as separate tarball. -- Mishka. _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats