geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1155175 - /geronimo/tck/branches/3.0/jcdi-tck-runner/run-parts.sh
Date Tue, 09 Aug 2011 00:43:11 GMT
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



Mime
View raw message