[asterisk-commits] mjordan: testsuite/bamboo/trunk r2970 - /bamboo/trunk/bin/build-asterisk.sh

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 29 11:07:40 CST 2011


Author: mjordan
Date: Thu Dec 29 11:07:36 2011
New Revision: 2970

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2970
Log:
Add ability for tags to be specified as a command line parameter

Modified:
    bamboo/trunk/bin/build-asterisk.sh

Modified: bamboo/trunk/bin/build-asterisk.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk.sh?view=diff&rev=2970&r1=2969&r2=2970
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Thu Dec 29 11:07:36 2011
@@ -11,6 +11,8 @@
 
 PLAN=$1
 SKIP=$2
+TAG=$3
+
 PWD=`pwd`
 TEST_RESULTS_DIR=${PWD}/test-reports
 BUILDFLAGS="NOISY_BUILD=yes"
@@ -279,7 +281,11 @@
 		rm -rf /tmp/asterisk-testsuite
 	fi
 	echo "*** Running external test suite ***"
-	svn co http://svn.digium.com/svn/testsuite/asterisk/trunk testsuite
+	if [ ! "${TAG}" = "" ]; then
+		svn co http://svn.digium.com/svn/testsuite/asterisk/tags/${TAG} testsuite
+	else
+		svn co http://svn.digium.com/svn/testsuite/asterisk/trunk testsuite
+	fi
 	if [ "${PLAN}" = "AST-PESSIMISTIC" ]; then
 		# Get the branch with the pessimistic test configuration
 		svn co http://svn.digium.com/svn/testsuite/asterisk/team/group/pessimistic pessimistic




More information about the asterisk-commits mailing list