geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1214225 - /geronimo/tck/branches/3.0-beta/jcdi-tck-runner/run-parts.sh
Date Wed, 14 Dec 2011 13:00:25 GMT
Author: xiaming
Date: Wed Dec 14 13:00:25 2011
New Revision: 1214225

URL: http://svn.apache.org/viewvc?rev=1214225&view=rev
Log:
Update run-parts.sh to use it as the runner of jcdi tck

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

Modified: geronimo/tck/branches/3.0-beta/jcdi-tck-runner/run-parts.sh
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0-beta/jcdi-tck-runner/run-parts.sh?rev=1214225&r1=1214224&r2=1214225&view=diff
==============================================================================
--- geronimo/tck/branches/3.0-beta/jcdi-tck-runner/run-parts.sh (original)
+++ geronimo/tck/branches/3.0-beta/jcdi-tck-runner/run-parts.sh Wed Dec 14 13:00:25 2011
@@ -13,20 +13,22 @@ function cleanprocs {
 export GERONIMO_OPTS=" -Xmx2048m -XX:MaxPermSize=1440m -ea "
 
 dirname=`pwd`
-timestamp=`date +%Y%m%d%H%M`
+#timestamp=`date +%Y%m%d%H%M`
+
+rm -rf $dirname/results
+mkdir $dirname/results
 
 for n in {1..7}; do
     echo "---------------------Start part$n run---------------------"
 	
     cleanprocs
-    rm build-part$n.log
-    mvn clean test -o -Dgeronimo-assembly -Dincontainer -DassemblyId=tomcat7-javaee6 -Dreleased
-DtckTests=tck-tests-released-part$n.xml | tee build-part$n.log
+    rm -rf $dirname/results/build-part$n.log
+    mvn clean test -o -Dgeronimo-assembly -Dincontainer -DassemblyId=tomcat7-javaee6 -Dreleased
-DtckTests=tck-tests-released-part$n.xml | tee $dirname/results/build-part$n.log
 
 # save results
-    mkdir -p /j2ee/porting/results/jcdi/$timestamp/part$n
-    mv $dirname/target/surefire-reports /j2ee/porting/results/jcdi/$timestamp/part$n
-    cp $dirname/build-part$n.log /j2ee/porting/results/jcdi/$timestamp/
-    echo "Results saved to /j2ee/porting/results/jcdi/$timestamp"
+    mkdir -p $dirname/results/part$n
+    mv $dirname/target/surefire-reports $dirname/results/part$n
+    echo "Results saved to $dirname/results/part$n"
         
     echo "---------------------End part$n run---------------------"
     echo .
@@ -36,4 +38,4 @@ for n in {1..7}; do
     cleanprocs
 done
 
-find . -name "*.log"|xargs grep "Time elapsed"  | tee /j2ee/porting/results/jcdi/$timestamp/result.log
+find . -name "*.log"|xargs grep "Time elapsed"  | tee $dirname/results/summary.log



Mime
View raw message