[asterisk-commits] pabelanger: testsuite/bamboo/trunk r899 - /bamboo/trunk/bin/build-asterisk.sh

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 21 21:47:36 CST 2010


Author: pabelanger
Date: Sun Nov 21 21:47:31 2010
New Revision: 899

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=899
Log:
Install asttest only on Linux hosts.

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=899&r1=898&r2=899
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Sun Nov 21 21:47:31 2010
@@ -245,10 +245,12 @@
 if [ "${EXTERNAL_TESTS}" = "yes" ]; then
 	echo "*** Running external test suite ***"
 	svn co http://svn.digium.com/svn/testsuite/asterisk/trunk testsuite
-	cd testsuite/asttest
-	make
-	make install
-	cd ..
+	if [ `uname -s` = "Linux" ] ; then
+		cd testsuite/asttest
+		make
+		make install
+		cd ..
+	fi
 	./runtests.py
 	cp *.xml ${TEST_RESULTS_DIR}
 	rm -rf /tmp/asterisk-testsuite




More information about the asterisk-commits mailing list