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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 18 17:03:22 CST 2010


Author: pabelanger
Date: Thu Nov 18 17:03:19 2010
New Revision: 861

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=861
Log:
When code coverage is enabled, do not set DONT_OPTIMIZE

Review: https://reviewboard.asterisk.org/r/1021/

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=861&r1=860&r2=861
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Thu Nov 18 17:03:19 2010
@@ -165,7 +165,10 @@
 
 ${MAKE} uninstall-all
 ${MAKE} menuselect.makeopts
-menuselect/menuselect --enable DONT_OPTIMIZE menuselect.makeopts
+
+if [ "${CODE_COVERAGE}" = "no" ] ; then
+	menuselect/menuselect --enable DONT_OPTIMIZE menuselect.makeopts
+fi
 menuselect/menuselect --enable DEBUG_THREADS menuselect.makeopts
 if [ "${UNIT_TESTS}" = "yes" ] ; then
 	menuselect/menuselect --enable TEST_FRAMEWORK menuselect.makeopts




More information about the svn-commits mailing list