chore(build): exclude leanslowtests from OSX debug regression
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
be093ecf90
commit
e96fe9b6e6
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
- cd ..
|
||||
|
||||
# Remark:
|
||||
# Added flag "-E leanslowtests" to ctest when in Debug mode
|
||||
# Reason: one of the tests was producing a stackoverflow.
|
||||
|
||||
script:
|
||||
- cd build
|
||||
- SITE=OSX10.8.2@Travis
|
||||
|
@ -27,6 +31,7 @@ script:
|
|||
BUILD_TYPE=Release;
|
||||
else
|
||||
BUILD_TYPE=Debug;
|
||||
CTEST_FLAGS="-E leanslowtests"
|
||||
fi
|
||||
- BUILD_NAME=${TRAVIS_BRANCH}_g++-4.9.0_${BUILD_TYPE}
|
||||
- if [[ $TCMALLOC == ON ]]; then
|
||||
|
@ -39,7 +44,7 @@ script:
|
|||
- sed -i "" "s/^Site:.*/Site:$SITE/" $CONFIG_FILE
|
||||
- sed -i "" "s/BuildName:.*/BuildName:$BUILD_NAME/" $CONFIG_FILE
|
||||
- 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 ..
|
||||
|
||||
after_script:
|
||||
|
|
Loading…
Reference in a new issue