chore(build): exclude leanslowtests from OSX debug regression

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-12 18:48:19 -08:00
parent be093ecf90
commit e96fe9b6e6

View file

@ -20,6 +20,10 @@ before_script:
- cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DTCMALLOC=${TCMALLOC} -DCMAKE_CXX_COMPILER=/usr/local/bin/${CMAKE_CXX_COMPILER} ../src -G Ninja - cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DTCMALLOC=${TCMALLOC} -DCMAKE_CXX_COMPILER=/usr/local/bin/${CMAKE_CXX_COMPILER} ../src -G Ninja
- cd .. - cd ..
# Remark:
# Added flag "-E leanslowtests" to ctest when in Debug mode
# Reason: one of the tests was producing a stackoverflow.
script: script:
- cd build - cd build
- SITE=OSX10.8.2@Travis - SITE=OSX10.8.2@Travis
@ -27,6 +31,7 @@ script:
BUILD_TYPE=Release; BUILD_TYPE=Release;
else else
BUILD_TYPE=Debug; BUILD_TYPE=Debug;
CTEST_FLAGS="-E leanslowtests"
fi fi
- BUILD_NAME=${TRAVIS_BRANCH}_g++-4.9.0_${BUILD_TYPE} - BUILD_NAME=${TRAVIS_BRANCH}_g++-4.9.0_${BUILD_TYPE}
- if [[ $TCMALLOC == ON ]]; then - if [[ $TCMALLOC == ON ]]; then
@ -39,7 +44,7 @@ script:
- sed -i "" "s/^Site:.*/Site:$SITE/" $CONFIG_FILE - sed -i "" "s/^Site:.*/Site:$SITE/" $CONFIG_FILE
- sed -i "" "s/BuildName:.*/BuildName:$BUILD_NAME/" $CONFIG_FILE - sed -i "" "s/BuildName:.*/BuildName:$BUILD_NAME/" $CONFIG_FILE
- ctest -D ExperimentalBuild -VV - ctest -D ExperimentalBuild -VV
- yes "C" | ctest -D ExperimentalTest -VV | ../script/demangle_cpptype.py; - yes "C" | ctest -D ExperimentalTest ${CTEST_FLAGS} -VV | ../script/demangle_cpptype.py;
- cd .. - cd ..
after_script: after_script: