Review Board 1.7.16


when code coverage is enabled, do not set DONT_OPTIMIZE

Review Request #1021 - Created Nov. 18, 2010 and submitted

Paul Belanger
Reviewers
asterisk-dev
testsuite
After notifying Russell about a build issue on Fedora 13, the solution was to disable DONT_OPTIMIZE when --enable-coverage was true.

---
kpfleming: if you are building with code coverage enabled, you don't need to set DONT_OPTIMIZE
Tested on Fedora 13

Diff revision 1 (Latest)

  1. bamboo/trunk/bin/build-asterisk.sh: Loading...
bamboo/trunk/bin/build-asterisk.sh
Revision 860 New Change
[20] 162 lines
[+20]
163
	./configure ${COMMON_CONFIGURE_ARGS}
163
	./configure ${COMMON_CONFIGURE_ARGS}
164
fi
164
fi
165

    
   
165

   
166
${MAKE} uninstall-all
166
${MAKE} uninstall-all
167
${MAKE} menuselect.makeopts
167
${MAKE} menuselect.makeopts

    
   
168
if [ "${CODE_COVERAGE}" = "no" ] ; then
168
menuselect/menuselect --enable DONT_OPTIMIZE menuselect.makeopts
169
	menuselect/menuselect --enable DONT_OPTIMIZE menuselect.makeopts

    
   
170
fi
169
menuselect/menuselect --enable DEBUG_THREADS menuselect.makeopts
171
menuselect/menuselect --enable DEBUG_THREADS menuselect.makeopts
170
if [ "${UNIT_TESTS}" = "yes" ] ; then
172
if [ "${UNIT_TESTS}" = "yes" ] ; then
171
	menuselect/menuselect --enable TEST_FRAMEWORK menuselect.makeopts
173
	menuselect/menuselect --enable TEST_FRAMEWORK menuselect.makeopts
172
	menuselect/menuselect --enable-category MENUSELECT_TESTS menuselect.makeopts
174
	menuselect/menuselect --enable-category MENUSELECT_TESTS menuselect.makeopts
173
fi
175
fi
[+20] [20] 83 lines
  1. bamboo/trunk/bin/build-asterisk.sh: Loading...

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.