namespacetest: add symbol check to .travis.yml

This commit is contained in:
Philipp A. Hartmann 2014-11-06 21:11:58 +01:00
parent 7dc9b18f54
commit a0f9de61a9

View File

@ -32,6 +32,7 @@ before_script:
script:
- make -C build/gmake -f test.make config=${CONF}${BITS}
- make -C build/gmake -f example.make config=${CONF}${BITS}
- if [ "$CONF" = "debug" ] && ( objdump -t -C intermediate/${CONF}/gmake/unittest/x${BITS}/namespacetest.o | grep rapidjson ) ; then echo "Symbol check failed!" ; false; fi
- pushd bin
- ./unittest_${CONF}_x${BITS}_gmake
- valgrind --leak-check=full --error-exitcode=1 ./unittest_${CONF}_x${BITS}_gmake