From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28971 invoked by alias); 26 Jun 2006 16:49:53 -0000 Received: (qmail 28963 invoked by uid 22791); 26 Jun 2006 16:49:52 -0000 X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (83.160.170.119) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Jun 2006 16:49:50 +0000 Received: from elsschot.wildebeest.org ([192.168.1.26]) by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian)) id 1FuuIV-0002gU-00; Mon, 26 Jun 2006 18:50:51 +0200 Subject: Re: RFC: add "not-a-test" tag to several tests From: Mark Wielaard To: Thomas Fitzsimmons Cc: Anthony Balkissoon , mauve-patches@sources.redhat.com In-Reply-To: <44A00DF9.9040306@redhat.com> References: <1151080291.25174.104.camel@tony.toronto.redhat.com> <1151331641.3361.8.camel@localhost.localdomain> <1151332775.2701.16.camel@elsschot.wildebeest.org> <44A00DF9.9040306@redhat.com> Content-Type: text/plain Date: Mon, 26 Jun 2006 16:49:00 -0000 Message-Id: <1151340576.2557.3.camel@elsschot.wildebeest.org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2006/txt/msg00475.txt.bz2 On Mon, 2006-06-26 at 12:40 -0400, Thomas Fitzsimmons wrote: > Mark Wielaard wrote: > > They make it possible to use > > RunnerProcess just as you could use SimpleTestHarness (e.g. echo > > gnu.testlet.some.test | runtime RunnerProcess) by just returning when > > stdin is empty (and in.readLine() returns null). > > This can already be done using the current Harness: > > jamvm Harness gnu.testlet.some.test > > Harness also supports specifying multiple tests: > > jamvm Harness gnu/testlet/java/awt/Frame/size1.java > gnu/testlet/javax/swing/JTable/addColumn.java I know, but that is a terrible way for debugging. Hunting down a crasher bug for example is really, really awkward using the Harness since it does way too many things. When examining tests (especially under gdb) for debugging you need to be able to run them just through the RunnerProcess to make sure you are looking at just the thing that fails. It works nicely with that one-liner patch though, so it isn't really another way to run tests, it is just to make sure you can run the tests by hand as if the Harness would run them. Cheers, Mark