Author: ozizka(a)redhat.com
Date: 2009-08-28 01:19:35 -0400 (Fri, 28 Aug 2009)
New Revision: 717
Modified:
trunk/jsfunit/testdata/hudson_shell_script.sh
Log:
* hudson shell script: -Pfoo$ADD_PROFILES
Modified: trunk/jsfunit/testdata/hudson_shell_script.sh
===================================================================
--- trunk/jsfunit/testdata/hudson_shell_script.sh 2009-08-28 05:11:05 UTC (rev 716)
+++ trunk/jsfunit/testdata/hudson_shell_script.sh 2009-08-28 05:19:35 UTC (rev 717)
@@ -50,11 +50,11 @@
#mvn -Pjboss5x install -Dcargo.jboss.configuration=$JBOSS_CONFIG
-Dhtmlunit.browser=$BROWSER --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME
-Dcargo.jboss.bind.address=$MYTESTIP_1
- if [ -n "NO_GC_LIMIT" ] ; then ADD_PROFILES="no_GC_limit"; fi
+ if [ -n "NO_GC_LIMIT" ] ; then ADD_PROFILES=",no_GC_limit"; fi
if [ -n "$DONT_SPLIT" ] ; then
echo "Running whole testsuite... (DONT_SPLIT)"
- mvn -Pjboss5x install -Dcargo.jboss.configuration=$JBOSS_CONFIG
-Dhtmlunit.browser=$BROWSER --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME
-Dcargo.jboss.bind.address=$MYTESTIP_1
+ mvn -Pjboss5x -Pfoo$ADD_PROFILES install -Dcargo.jboss.configuration=$JBOSS_CONFIG
-Dhtmlunit.browser=$BROWSER --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME
-Dcargo.jboss.bind.address=$MYTESTIP_1
else
## Split testsuite to parts, because of OOME
for part in Apps ConnFactories Datasources Jms theRest; do
@@ -62,7 +62,7 @@
svn revert pom.xml
echo "Performing 'patch -p0 <
testdata/pom_patches/pom-$part.patch'..."
patch -p0 < testdata/pom_patches/pom-$part.patch
- mvn -Pjboss5x -P$ADD_PROFILES install -Dcargo.jboss.configuration=$JBOSS_CONFIG
-Dhtmlunit.browser=$BROWSER --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME
-Dcargo.jboss.bind.address=$MYTESTIP_1
+ mvn -Pjboss5x -Pfoo$ADD_PROFILES install
-Dcargo.jboss.configuration=$JBOSS_CONFIG -Dhtmlunit.browser=$BROWSER --fail-never
--update-snapshots -DJBOSS_HOME=$JBOSS_HOME -Dcargo.jboss.bind.address=$MYTESTIP_1
#mv target/surefire-reports/TEST-TestSuite.xml TEST-TestSuite-$part.xml
mv target target-$part
done
Show replies by date