From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11970 invoked from network); 24 Feb 2005 17:49:57 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 24 Feb 2005 17:49:57 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D4NLQ-0005zK-Rh for listarch-gnats-devel@sources.redhat.com; Thu, 24 Feb 2005 13:04:12 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D4NK5-0005QR-VO for help-gnats@gnu.org; Thu, 24 Feb 2005 13:02:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D4NK2-0005P9-Gm for help-gnats@gnu.org; Thu, 24 Feb 2005 13:02:46 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D4NK2-0005N7-AH for help-gnats@gnu.org; Thu, 24 Feb 2005 13:02:46 -0500 Received: from [199.199.210.160] (helo=chef.nerp.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D4N0v-0003I5-LP for help-gnats@gnu.org; Thu, 24 Feb 2005 12:43:01 -0500 Received: from skuld.wookimus.net (c-66-41-156-164.mn.client2.attbi.com [66.41.156.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by chef.nerp.net (Postfix) with ESMTP id EC569586A2 for ; Thu, 24 Feb 2005 11:43:00 -0600 (CST) Received: from wookimus.net (skuld.wk [192.168.5.100]) by skuld.wookimus.net (Postfix) with ESMTP id 8EF8A3E00 for ; Thu, 24 Feb 2005 11:42:59 -0600 (CST) Received: by wookimus.net (Postfix, from userid 1000) id C6CDE21FF; Thu, 24 Feb 2005 11:41:36 -0600 (CST) Date: Thu, 24 Feb 2005 17:49:00 -0000 From: Chad Walstrom To: help-gnats@gnu.org Message-ID: <20050224174136.GC24063@wookimus.net> Mail-Followup-To: help-gnats@gnu.org Mime-Version: 1.0 X-Operating-System: Linux skuld 2.6.8-1-k7 X-GnuPG-Fingerprint: B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD User-Agent: Mutt/1.5.6+20040907i Subject: Regression Testing (was Re: patch #1 ...) 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: , Content-Type: multipart/mixed; boundary="===============1557540238==" 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/msg00046.txt.bz2 --===============1557540238== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w7PDEPdKQumQfZlR" Content-Disposition: inline --w7PDEPdKQumQfZlR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2180 Mel Hatzis wrote: > If there's general interest in incorporating the test suite I have, > I'd be happy to try and set something up. Sounds like a great idea. Regression testing is always welcome. > 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. As long as the dependency is for development purposes only, I don't see a problem. Though, committing a generated database to CVS wouldn't be an awful idea either. ;-) > 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). Right. Make test could also be run after a test install directory were created. As was mentioned in a reply to this post, it's possible to set up the prefix to a usable test installation directory. My configure call is usually something like this: $ mkdir +build +install ; cd +build $ ../configure --prefix=3D`pwd`/../+install \ > --with-gnats-user=3D$logname $ make install $ cd ../+install/usr/libexec/... I do agree that enhancing command-line options would help immensely. > The perl requirement could perhaps, be resolved, by simply committing > the generated database to the mix. We could always start another CVS repository for the test data and test suite if that would be "easier". I would be fine with simply creating a "test" directory. Is your testing suite a unit-test style? I had been looking at GNU Nana [1]_ for design-by-contract patterns that might be helpful. The CPP macros work best with gcc and gdb, so it's not 100% portable to other compilers/debuggers. Might be worth looking at, in any case. .. [1] http://directory.fsf.org/nana.html --=20 Chad Walstrom http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */ --w7PDEPdKQumQfZlR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCHhHQDMcLGCBsWv0RAsjqAJ9jqQmKnwtvmQ/okyYLNQPBJjduFQCfdB/A eLTPnzfw+d6yaXb3sH5007c= =tv92 -----END PGP SIGNATURE----- --w7PDEPdKQumQfZlR-- --===============1557540238== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 140 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats --===============1557540238==--