Author: jfrederic.clere(a)jboss.com
Date: 2014-05-21 05:30:51 -0400 (Wed, 21 May 2014)
New Revision: 3314
Modified:
trunk/build/unix/buildbin.TC6.sh
Log:
Remove native the version is too old.
Modified: trunk/build/unix/buildbin.TC6.sh
===================================================================
--- trunk/build/unix/buildbin.TC6.sh 2014-05-21 09:09:51 UTC (rev 3313)
+++ trunk/build/unix/buildbin.TC6.sh 2014-05-21 09:30:51 UTC (rev 3314)
@@ -167,75 +167,6 @@
echo ""
stopTomcat
-echo ""
-echo "Testing with native"
-echo ""
-# find the native we need to download for the tests.
-is64=false
-java -version 2>&1 | grep 64
-if [ $? -eq 0 ]; then
- is64=true
-fi
-# Something like
https://hudson.qa.jboss.com/hudson/view/Native/job/JBossWebNative-linux-x...
-BASE=JBossWebNative-linux-x86_64
-EXT=ssl.tar.gz
-#VERNAT=2.0.10
-#PACKVER=jboss-native-${VERNAT}-dev
-#TARBALL=https://hudson.qa.jboss.com/hudson/view/Native/job/${BASE}/lastSuccessfulBuild/artifact/jbossnative/build/unix/output/${PACKVER}-${BUILD_SYS}-${BUILD_CPU}-${EXT}
-
-VERNAT=2.0.9
-PACKVER=jboss-native-${VERNAT}
-TARBALL=http://downloads.jboss.org/jbossnative/${VERNAT}.GA/${PACKVER}-${BUILD_SYS}-${BUILD_CPU}-${EXT}
-(cd $native_sources/output/build
- wget --no-check-certificate $TARBALL
- fname=`basename $TARBALL`
- case ${fname} in
- *.tar.gz)
- gunzip -c $fname | tar -xf -
- ;;
- *.zip)
- unzip -q -o $fname
- ;;
- esac
-)
-sed "/@SSL_CONNECTOR@/r $HOME/tcks/conf/server.xml.apr"
$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
-LD_LIBRARY_PATH=$native_sources/output/build/bin/native/
-export LD_LIBRARY_PATH
-EOF
-
-# Starting tomcat...
-rm -rf $native_sources/output/build/work
-rm -rf $native_sources/output/build/logs
-mkdir $native_sources/output/build/logs
-(cd $native_sources/output/build; bin/startup.sh)
-echo ""
-echo "Waiting for Tomcat to start"
-sleep 60
-echo ""
-grep Http11AprProtocol $native_sources/output/build/logs/catalina.out
-if [ $? -ne 0 ]; then
- echo "Failed can't start native..."
- stopTomcat
- exit 1
-fi
-
-echo "Running TCK tests..."
-echo "SERVLETS"
-echo ""
-export TS_HOME=/home/hudson/TCK5/servlet/servlettck
-(cd $TS_HOME; bin/tsant runclient || exit 1)
-if [ $? -ne 0 ]; then
- echo "Failed test failed..."
- stopTomcat
- exit 1
-fi
-
-echo ""
-echo "Stopping TC6..."
-echo ""
-stopTomcat
-
echo "Done"
echo ""
exit 0