public inbox for mauve-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Mauve Patch List <mauve-patches@sources.redhat.com>
Subject: Patch: FYI: harness fix + exception print
Date: Mon, 12 Feb 2007 22:28:00 -0000	[thread overview]
Message-ID: <m3fy9bdtd0.fsf@localhost.localdomain> (raw)

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  <tromey@redhat.com>

	* 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 <abalkiss@redhat.com>
 
 // 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);
     }
   }
 }

                 reply	other threads:[~2007-02-12 22:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3fy9bdtd0.fsf@localhost.localdomain \
    --to=tromey@redhat.com \
    --cc=mauve-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).