Visualweb tests should be fixed but try it first with results stored separately.
3 ## Run commit validation test for visual web cluster
4 ## (http://wiki.netbeans.org/wiki/view/VWSanityTestInstructions).
5 ## Results are added to xtest/instance/results.
9 ###################################################################
13 AS_ROOT=/hudson/workdir/jobs/trunk/testappsrv
14 AS_HOME=${AS_ROOT}/glassfish
17 TEST_ROOT=`pwd`/visualweb.kit/test
19 ###################################################################
22 # Setup properties file
23 cp $TEST_ROOT/data/DefaultDeploymentTargets.properties.template $TEST_ROOT/data/tmp.properties
24 MODIFIED_AS_HOME=`echo ${AS_HOME} | sed 's/\//@/g'`
25 sed -e "s/J2EE_HOME/${MODIFIED_AS_HOME}/g" -e "s/@/\//g" -e "s/8080/${AS_PORT}/g" -e "s/domain1/${AS_DOMAIN}/g" $TEST_ROOT/data/tmp.properties > $TEST_ROOT/data/DefaultDeploymentTargets.properties
28 if [ $ERROR_CODE != 0 ]; then
29 echo "ERROR: $ERROR_CODE - Can't setup Glassfish"
33 rm -f $TEST_ROOT/data/tmp.properties
36 ###################################################################
39 # Run Sanity test on VisualWeb build
42 # ant commit-validation -Dxtest.no.cleanresults=true -Dxtest.results=$TEST_ROOT/../../xtest/instance/results -Dxtest.timeout=1200000 -Dxtest.instance.name="Visualweb tests"
43 # XXX temporarily store results separately until fixed
44 ant commit-validation -Dxtest.no.cleanresults=true -Dxtest.results=$TEST_ROOT/../../xtest/instance/results/vw -Dxtest.timeout=1200000 -Dxtest.instance.name="Visualweb tests"
47 if [ $ERROR_CODE != 0 ]; then
48 echo "ERROR: $ERROR_CODE - Error in running visualweb sanity test"
53 ############################# MAIN ################################
58 ############################## END ################################