Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Tue, 2 Oct 2001 13:14:23 -0400 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: The test suite is cool Message-ID: <20011002131423.B12071@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20011001194848 DOT A30610 AT redhat DOT com> <1399887427 DOT 20011002153216 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1399887427.20011002153216@logos-m.ru> User-Agent: Mutt/1.3.21i On Tue, Oct 02, 2001 at 03:32:16PM +0400, egor duda wrote: >Hi! > >Tuesday, 02 October, 2001 Christopher Faylor cgf AT redhat DOT com wrote: > >CF> I just wanted to spread some test suite kudos in Egor's direction. > >well, most kudos should go to the guys from linux testing project, i >just did the porting. > >CF> I've been trying to school myself to run the test suite before I check in >CF> changes and whaddaya know? I've found some problems in my code (I can >CF> hear the collective gasps now). > >cool indeed :) i wonder if it's possible to add 'make check' to >snapshot building scripts (if they're running natively, of course) and >post results on snapshots page. Nope. I build everything on linux. Eventually, I'll be building everything on sourceware. >CF> I'd like to start adding some more regression tests to the testsuite. I >CF> know that I could figure out how to do this but I'm wondering if a >CF> "how-to-add-things-to-the-test-suite" would be appropriate. >CF> Egor, would you be willing to add something like this? > >hmm, i don't really know what can i add to README written by DJ. Maybe >except CYGWIN_TESTSUITE_TESTS variable description, which is rather >recent addition. for those who interested, this variable can be used >to make testsuite skip all tests except those that match regexp, >assigned to this variable. so, if i want to run e.g. lseek tests only, >i start testsuite with something like >'make check CYGWIN_TESTSUITE_TESTS=\.\*lseek\.\*' > >otherwise, one should just write a *.c program which returns 0 status >on success and non-zero on failure. > >what i definitely _can_ write is a testsuite TODO :) i have some ideas >to make testsuite more useful (this includes [better] w9x support, >testing for memory leaks, some kind of benchmarking etc.) Ok. Sounds good. I'd forgotten about the README. My bad. cgf