[jboss-cvs] JBossRemoting/src/bin ...

Ovidiu Feodorov ovidiu.feodorov at jboss.com
Sat Jan 13 07:42:34 EST 2007


  User: ovidiu  
  Date: 07/01/13 07:42:34

  Modified:    src/bin  Tag: remoting_2_x runtest
  Log:
  Various logging improvments, minor reformatting and new tests in preparation 
  for a solution for http://jira.jboss.org/jira/browse/JBREM-666.
  
  Includes http://jira.jboss.org/jira/browse/JBREM-667.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.16.1  +18 -7     JBossRemoting/src/bin/runtest
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: runtest
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/bin/runtest,v
  retrieving revision 1.4
  retrieving revision 1.4.16.1
  diff -u -b -r1.4 -r1.4.16.1
  --- runtest	16 Jun 2005 22:12:34 -0000	1.4
  +++ runtest	13 Jan 2007 12:42:34 -0000	1.4.16.1
  @@ -1,16 +1,16 @@
   #!/bin/sh
   #
  -# $Id: runtest,v 1.4 2005/06/16 22:12:34 ovidiu Exp $
  +# $Id: runtest,v 1.4.16.1 2007/01/13 12:42:34 ovidiu Exp $
   #
   # Script that runs a single unit test case and allows to easily attach a debugger to it.
   #
  -# Usage: runtest [-debug]
  +# Usage: runtest [-debug|-clientdebug|-serverdebug]
   #
  +# where: -debug starts this VM in debug mode
  +#        -clientdebug starts the JRUnit client VM in debug mode (see ServerLockupTestDriver.java)
  +#        -serverddbug starts the JRUnit server VM in debug mode (see ServerLockupTestDriver.java)
   
  -
  -
  -#TARGET_CLASS=org.jboss.test.remoting.registry.InvokerRegistryTestCase
  -TARGET_CLASS=org.jboss.test.remoting.invoker.ClientInvokerDisconnectTestCase
  +TARGET_CLASS=org.jboss.test.remoting.transport.socket.serverlockup.ServerLockupTestDriver
   
   cygwin=false;
   case "`uname`" in
  @@ -30,8 +30,12 @@
           if [ $cygwin = false ]; then
               JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=12348"
           else
  -            JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=y,address=unittest"
  +            JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=y,address=jrunit"
           fi
  +    elif [ "$1" = "-clientdebug" ]; then
  +        JAVA_OPTS="$JAVA_OPTS -Dclientdebug=true"
  +    elif [ "$1" = "-serverdebug" ]; then
  +        JAVA_OPTS="$JAVA_OPTS -Dserverdebug=true"
       fi
       shift
   done
  @@ -44,8 +48,15 @@
   $reldir/../../lib/junit/lib/junit.jar${SEP}\
   $reldir/../../lib/jboss/jboss-j2se.jar${SEP}\
   $reldir/../../lib/jboss/jboss-common.jar${SEP}\
  +$reldir/../../lib/jboss/jrunit.jar${SEP}\
  +$reldir/../../lib/jboss/jboss-jmx.jar${SEP}\
  +$reldir/../../lib/jboss/jboss-serialization.jar${SEP}\
   $reldir/../../lib/apache-log4j/lib/log4j.jar${SEP}\
   $reldir/../../lib/sun-servlet/lib/servlet-api.jar${SEP}\
   $reldir/../../lib/apache-commons/lib/commons-httpclient.jar${SEP}\
  +$reldir/../../lib/oswego-concurrent/lib/concurrent.jar${SEP}\
  +$reldir/../../lib/jgroups/lib/jgroups.jar${SEP}\
  +$reldir/../../lib/apache-commons/lib/commons-logging-api.jar${SEP}\
    junit.textui.TestRunner $TARGET_CLASS
   
  +
  
  
  



More information about the jboss-cvs-commits mailing list