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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 12 12:10:33 CDT 2011


Author: mjordan
Date: Wed Oct 12 12:10:29 2011
New Revision: 2537

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2537
Log:
Added support for AST-PESSIMISTIC

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=2537&r1=2536&r2=2537
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Wed Oct 12 12:10:29 2011
@@ -131,7 +131,10 @@
 	UNIT_TESTS=no
 fi
 
-if [ "${PLAN}" = "AST-TRUNK" ] || [ "${PLAN}" = "AST-18" ] ; then
+if [ "${PLAN}" = "AST-TRUNK" ] ||
+	[ "${PLAN}" = "AST-10" ] ||
+	[ "${PLAN}" = "AST-18" ] ||
+	[ "${PLAN}" = "AST-PESSIMISTIC" ] ; then
 	CODE_COVERAGE=yes
 else
 	CODE_COVERAGE=no
@@ -145,6 +148,7 @@
 	[ "${PLAN}" = "AST-161" ] ||
 	[ "${PLAN}" = "AST-160" ] ||
 	[ "${PLAN}" = "AST-14" ] ||
+	[ "${PLAN}" = "AST-PESSIMISTIC" ] ||
 	[ "1" = "0" ] ; then   # Intentionally false, so when we add/remove targets, we never have to change this line.
 	EXTERNAL_TESTS=yes
 else
@@ -268,6 +272,12 @@
 	fi
 	echo "*** Running external test suite ***"
 	svn co http://svn.digium.com/svn/testsuite/asterisk/trunk testsuite
+	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
+		cp pessimistic/* testsuite
+	fi
+
 	cd testsuite
 	if [ `uname -s` = "Linux" ] ; then
 		cd asttest




More information about the asterisk-commits mailing list