incubator-gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1208522 - in /incubator/gora/trunk: CHANGES.txt bin/gora
Date Wed, 30 Nov 2011 17:03:52 GMT
Author: lewismc
Date: Wed Nov 30 17:03:50 2011
New Revision: 1208522

URL: http://svn.apache.org/viewvc?rev=1208522&view=rev
Log:
commit to address GORA-52 & update to changes.txt

Modified:
    incubator/gora/trunk/CHANGES.txt
    incubator/gora/trunk/bin/gora

Modified: incubator/gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/gora/trunk/CHANGES.txt?rev=1208522&r1=1208521&r2=1208522&view=diff
==============================================================================
--- incubator/gora/trunk/CHANGES.txt (original)
+++ incubator/gora/trunk/CHANGES.txt Wed Nov 30 17:03:50 2011
@@ -2,6 +2,8 @@ Gora Change Log
 
 Trunk (unreleased changes):
 
+* GORA-52 Run JUnit tests from the command line (lewismc)
+
 * GORA-62 Run bin/gora commands after maven build (lewismc)
 
 * GORA-43 Forward port 0.1.1 incubating Maven poms to trunk (lewismc)

Modified: incubator/gora/trunk/bin/gora
URL: http://svn.apache.org/viewvc/incubator/gora/trunk/bin/gora?rev=1208522&r1=1208521&r2=1208522&view=diff
==============================================================================
--- incubator/gora/trunk/bin/gora (original)
+++ incubator/gora/trunk/bin/gora Wed Nov 30 17:03:50 2011
@@ -47,6 +47,7 @@ if [ $# = 0 ]; then
   echo "  specificcompiler           Run Avro Specific Compiler"
   echo "  logmanager                 Run the tutorial log manager"
   echo "  loganalytics               Run the tutorial log analytics"
+  echo "  junit         	     Run the given JUnit test"
   echo " or"
   echo " MODULE CLASSNAME   run the class named CLASSNAME in module MODULE"
   echo "Most commands print help when invoked w/o parameters."
@@ -117,6 +118,10 @@ elif [ "$COMMAND" = "logmanager" ] ; the
 elif [ "$COMMAND" = "loganalytics" ] ; then
   CLASS=org.apache.gora.tutorial.log.LogAnalytics
   MODULE=gora-tutorial
+elif [ "$COMMAND" = "junit" ] ; then
+  CLASSPATH=$CLASSPATH:target/test-classes/
+  MODULE=*
+  CLASS=junit.textui.TestRunner
 else
   MODULE="$COMMAND"
   CLASS=$1



Mime
View raw message