Author: jfrederic.clere(a)jboss.com
Date: 2009-01-22 02:38:12 -0500 (Thu, 22 Jan 2009)
New Revision: 2196
Added:
trunk/build/unix/buildtest.mod_cluster.sh
Log:
Add the test integration in the build.
Added: trunk/build/unix/buildtest.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildtest.mod_cluster.sh (rev 0)
+++ trunk/build/unix/buildtest.mod_cluster.sh 2009-01-22 07:38:12 UTC (rev 2196)
@@ -0,0 +1,52 @@
+#!/bin/sh
+# Copyright(c) 2009 Red Hat Middleware, LLC,
+# and individual contributors as indicated by the @authors tag.
+# See the copyright.txt in the distribution for a
+# full listing of individual contributors.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library in the file COPYING.LIB;
+# if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+#
+# @author Jean-Frederic Clere
+#
+# Run a test of the httpd.
+#
+# $1 : Base directory for the test.
+# $2 : Directory where the package was built.
+# $3 : Directory where downloaded packages are stored.
+# $4 : Name or IP to use for the tests.
+# $5 : Do the SSL stuff.
+
+base=$1
+root=$2
+build_cache_dir=$3
+IPLOCAL=$4
+loc_has_ssl=$5
+
+echo ""
+echo "Running : `basename $0` $LastChangedDate$"
+echo ""
+
+# the stuff is in
/home/jfclere/jbossnative/trunk/build/unix/work/mod_cluster-1.0.0.dev-src/srclib/mod_cluster/src/test/java
+# $root is
/home/jfclere/jbossnative/trunk/build/unix/work/mod_cluster-1.0.0.dev-src/output/linux2-x64
+anttestsdir=`cd $root/../../srclib/mod_cluster/test/java; pwd`
+(cd $anttestsdir
+ ant
+) || exit 1
+
+echo ""
+echo "SUCCESS : `basename $0` $LastChangedDate$"
+echo ""
+exit 0
Property changes on: trunk/build/unix/buildtest.mod_cluster.sh
___________________________________________________________________
Name: svn:executable
+ *
Show replies by date