Author: jfrederic.clere(a)jboss.com
Date: 2010-05-19 05:30:26 -0400 (Wed, 19 May 2010)
New Revision: 2670
Modified:
trunk/build/unix/buildbin.TC7.sh
Log:
Add TCK logic.
Modified: trunk/build/unix/buildbin.TC7.sh
===================================================================
--- trunk/build/unix/buildbin.TC7.sh 2010-05-19 07:56:33 UTC (rev 2669)
+++ trunk/build/unix/buildbin.TC7.sh 2010-05-19 09:30:26 UTC (rev 2670)
@@ -53,6 +53,25 @@
native_sources=srclib/`ls srclib | grep TC7`
cd $native_sources
ant || exit 1
-ant test -Dsun.security.ssl.allowUnsafeRenegotiation=true || exit 1
+echo ""
+echo "Running ant tests"
+ANT_OPTS="-Dsun.security.ssl.allowUnsafeRenegotiation=true"
+export ANT_OPTS
+ant test || exit 1
+echo "Ant test Done"
+echo ""
+echo "Running TCK tests"
+cp $HOME/tcks/conf/* $native_sources/output/build/conf
+sed '/@SSL_CONNECTOR@/ r $HOME/tcks/conf/server.xml.apr' <
$HOME/tcks/conf/server.xml > $native_sources/output/build/conf/server.xml
+(cd $HOME/tcks/servlet; bash install.sh $native_sources/output/build/conf)
+(cd $native_sources/output/build; bin/startup.sh)
+echo ""
+echo "Waiting for Tomcat to start"
+sleep 20
+echo ""
+echo "Running TCK tests..."
+export TS_HOME=/home/hudson/tcks/servlet/servlettck
+export ANT_HOME=$TS_HOME/tools/ant
+cd $TS_HOME/bin; ant || exit 1
echo "Done"
exit 0
Show replies by date