You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2011/08/09 02:43:11 UTC
svn commit: r1155175 -
/geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh
Author: dblevins
Date: Tue Aug 9 00:43:11 2011
New Revision: 1155175
URL: http://svn.apache.org/viewvc?rev=1155175&view=rev
Log:
companion script for running all the parts
Added:
geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh (with props)
Added: 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=1155175&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh (added)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh Tue Aug 9 00:43:11 2011
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+function cleanprocs {
+ ps ax | grep 'java.*javaagent' | grep -v grep | perl -pe 's/^(\d+).*/$1/' | while read p; do
+ kill -9 $p
+ done
+}
+
+for n in {1..7}; do
+
+ cleanprocs
+
+ mvn clean test -o -Dgeronimo-assembly -Dincontainer -DassemblyId=tomcat7-javaee6 -Dreleased -DtckTests=tck-tests-released-part$n.xml | tee build-part$n.log
+
+ cleanprocs
+
+}
\ No newline at end of file
Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh
------------------------------------------------------------------------------
svn:eol-style = native