X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bde7cd336f0c403e990645b6eb1fab00191a5497..e529dabba2ed93090ca2255c507a6734e05b833d:/tools/jenkins/Flags.sh diff --git a/tools/jenkins/Flags.sh b/tools/jenkins/Flags.sh index 1dfb5d44bd..e8f9198f16 100755 --- a/tools/jenkins/Flags.sh +++ b/tools/jenkins/Flags.sh @@ -67,7 +67,7 @@ fi echo "Step ${STEP}/${NSTEPS} - Building with debug=${builddebug}, SMPI=${buildsmpi}, MC=${buildmc}" -if [ "${builddebug}/${buildsmpi}/${buildmc}" = "ON/ON/ON"; then +if [ "${builddebug}/${buildsmpi}/${buildmc}" = "ON/ON/ON" ]; then # ${buildmc}=ON because "why not", and especially because it doesn't # compile with -D_GLIBCXX_DEBUG and -Denable_ns3=ON together export CXXFLAGS=-D_GLIBCXX_DEBUG @@ -77,7 +77,7 @@ else fi cmake -Denable_documentation=OFF \ - -Denable_compile_optimizations=OFF -Denable_compile_warnings=ON \ + -Denable_compile_optimizations=${runtests} -Denable_compile_warnings=ON \ -Denable_mallocators=ON -Denable_debug=${builddebug} \ -Denable_smpi=${buildsmpi} -Denable_smpi_MPICH3_testsuite=${buildsmpi} -Denable_model-checking=${buildmc} \ -Denable_memcheck=OFF -Denable_memcheck_xml=OFF -Denable_smpi_MBI_testsuite=OFF \ @@ -89,7 +89,7 @@ make -j$NUMPROC tests if [ "$runtests" = "ON" ]; then # exclude tests known to fail with _GLIBCXX_DEBUG - ctest -j$NUMPROC -E '^[ps]thread-|mc-bugged1-liveness' + ctest -j$NUMPROC -E '^[ps]thread-|mc-bugged1-liveness' --output-on-failure fi cd ..