From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24716 invoked by alias); 12 Feb 2007 22:28:47 -0000 Received: (qmail 24707 invoked by uid 22791); 12 Feb 2007 22:28:47 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Feb 2007 22:28:41 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l1CMSd0I009605 for ; Mon, 12 Feb 2007 17:28:39 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l1CMScCY025936 for ; Mon, 12 Feb 2007 17:28:38 -0500 Received: from opsy.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l1CMSb3i030237; Mon, 12 Feb 2007 17:28:37 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 3A9A4378380; Mon, 12 Feb 2007 13:16:29 -0700 (MST) To: Mauve Patch List Subject: Patch: FYI: harness fix + exception print From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Mon, 12 Feb 2007 22:28:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2007/txt/msg00010.txt.bz2 I'm checking this in. This fixes a harness typo and changes the server socket test to print stack traces. Tom Index: ChangeLog from Tom Tromey * gnu/testlet/java/net/ServerSocket/BasicSocketServer.java (init): Print exception. (run): Likewise. * Harness.java (printHelpMessage): Typo fix. Index: Harness.java =================================================================== RCS file: /cvs/mauve/mauve/Harness.java,v retrieving revision 1.27 diff -u -r1.27 Harness.java --- Harness.java 20 Oct 2006 01:38:38 -0000 1.27 +++ Harness.java 12 Feb 2007 22:26:49 -0000 @@ -1,4 +1,4 @@ -// Copyright (c) 2006 Red Hat, Inc. +// Copyright (c) 2006, 2007 Red Hat, Inc. // Written by Anthony Balkissoon // This file is part of Mauve. @@ -595,7 +595,7 @@ "run the tests in its subfolders\n" + " -file [filename]: specifies a file that contains the names " + "of tests to be run (one per line)\n" + - " -interactive: only run interavtice tests, if not set, " + + " -interactive: only run interactive tests, if not set, " + "only run non-interactive tests\n" + // Output Options. "\n\nOutput Options:\n" + Index: gnu/testlet/java/net/ServerSocket/BasicSocketServer.java =================================================================== RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/ServerSocket/BasicSocketServer.java,v retrieving revision 1.6 diff -u -r1.6 BasicSocketServer.java --- gnu/testlet/java/net/ServerSocket/BasicSocketServer.java 3 Jun 2004 14:31:11 -0000 1.6 +++ gnu/testlet/java/net/ServerSocket/BasicSocketServer.java 12 Feb 2007 22:27:05 -0000 @@ -1,7 +1,7 @@ // Tags: not-a-test /* - Copyright (C) 1999 Hewlett-Packard Company + Copyright (C) 1999, 2007 Hewlett-Packard Company This file is part of Mauve. @@ -42,6 +42,7 @@ catch (Exception e) { System.out.println("Error : BasicSocketServer::init failed " + "exception in new ServerSocket(...) " + e); + harness.debug(e); } } @@ -68,6 +69,7 @@ catch (Exception e) { System.out.println("Error : BasicSocketServer::run failed - 2" + "exception was thrown"); + harness.debug(e); } } try { @@ -77,6 +79,7 @@ catch (Exception e) { System.out.println("Error : BasicSocketServer::run failed - 3" + "exception was thrown"); + harness.debug(e); } } }