[asterisk-commits] russell: testsuite/bamboo/trunk r636 - /bamboo/trunk/bin/build-asterisk.sh
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 29 10:57:28 CDT 2010
Author: russell
Date: Thu Jul 29 10:57:24 2010
New Revision: 636
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=636
Log:
We need --enable-coverage for generate a coverage report
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=636&r1=635&r2=636
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Thu Jul 29 10:57:24 2010
@@ -95,6 +95,7 @@
sed -ie "s/\/${dir}\/${dir}\//\/${dir}\//" asterisk.info
done
+ mkdir coverage
cd coverage
genhtml ../asterisk.info
cd ..
@@ -115,7 +116,12 @@
fi
mkdir ${TEST_RESULTS_DIR}
-./configure --enable-dev-mode
+if [ "${PLAN}" = "AST-COVERAGETEST" ] ; then
+ ./configure --enable-dev-mode --enable-coverage
+else
+ ./configure --enable-dev-mode
+fi
+
${MAKE} uninstall-all
${MAKE} menuselect.makeopts
menuselect/menuselect --enable DONT_OPTIMIZE menuselect.makeopts
More information about the asterisk-commits
mailing list