Author: jfrederic.clere(a)jboss.com
Date: 2011-01-11 07:25:35 -0500 (Tue, 11 Jan 2011)
New Revision: 2715
Modified:
trunk/build/unix/buildbin.TC7.sh
Log:
Add JSP tests.
Modified: trunk/build/unix/buildbin.TC7.sh
===================================================================
--- trunk/build/unix/buildbin.TC7.sh 2011-01-11 11:50:40 UTC (rev 2714)
+++ trunk/build/unix/buildbin.TC7.sh 2011-01-11 12:25:35 UTC (rev 2715)
@@ -74,6 +74,7 @@
echo "Running TCK tests"
cp $HOME/tcks/conf/* $native_sources/output/build/conf
(cd $HOME/tcks/servlet; bash install.sh $native_sources/output/build)
+(cd $HOME/tcks/jsp; bash install.sh $native_sources/output/build)
sed "/@SSL_CONNECTOR@/r $HOME/tcks/conf/server.xml.jce"
$HOME/tcks/conf/server.xml | sed "/@SSL_CONNECTOR@/d" >
$native_sources/output/build/conf/server.xml
cat > $native_sources/output/build/bin/setenv.sh << EOF
@@ -87,10 +88,22 @@
sleep 20
echo ""
echo "Running TCK tests..."
+echo "SERVLETS"
+echo ""
export TS_HOME=/home/hudson/tcks/servlet/servlettck
export ANT_HOME=$TS_HOME/tools/ant
(cd $TS_HOME/bin; ant run.all || exit 1) || exit 1
(cd $TS_HOME/bin; ant report || exit 1) || exit 1
+
+echo "JSP"
+
+export TS_HOME=/home/hudson/tcks/jsp/jsptck
+export ANT_HOME=$TS_HOME/tools/ant
+(cd $TS_HOME/bin; ant run.all || exit 1) || exit 1
+(cd $TS_HOME/bin; ant report || exit 1) || exit 1
+echo ""
+echo "Stopping TC7..."
+echo ""
(cd $native_sources/output/build; bin/shutdown.sh)
echo ""
echo "Done"