geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1352538 - /geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh
Date Thu, 21 Jun 2012 14:14:02 GMT
Author: xiaming
Date: Thu Jun 21 14:14:01 2012
New Revision: 1352538

URL: http://svn.apache.org/viewvc?rev=1352538&view=rev
Log:
Enable run-parts.sh to run against multiple assemblies

Modified:
    geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh

Modified: geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh?rev=1352538&r1=1352537&r2=1352538&view=diff
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh (original)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh Thu Jun 21 14:14:01 2012
@@ -26,12 +26,15 @@ fi
 rm -rf $dirname/results
 mkdir $dirname/results
 
+# assemblyId could be jetty8-javaee6, jetty8-javaee6-web, tomcat7-javaee6, tomcat7-javaee6-web
+assemblyId=$1
+
 for n in {1..7}; do
     echo "---------------------Start part$n run---------------------"
 	
     cleanprocs
     rm -rf $dirname/results/build-part$n.log
-    mvn clean test -Dmaven.repo.local=$repodir -Dgeronimo-assembly -Dincontainer -DassemblyId=tomcat7-javaee6
-Dreleased -DtckTests=tck-tests-released-part$n.xml | tee $dirname/results/build-part$n.log
+    mvn clean test -Dmaven.repo.local=$repodir -Dgeronimo-assembly -Dincontainer -DassemblyId=$assemblyId
-Dreleased -DtckTests=tck-tests-released-part$n.xml | tee $dirname/results/build-part$n.log
 
 # save results
     mkdir -p $dirname/results/part$n



Mime
View raw message