X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c8bb26b864b6f4da679743d0b979543268e875ba..2e6f84f33cb3de2fd4caa15b22953d84cbf56597:/tools/jenkins/Sanitizers.sh diff --git a/tools/jenkins/Sanitizers.sh b/tools/jenkins/Sanitizers.sh index d375d564f5..99806e2c7a 100755 --- a/tools/jenkins/Sanitizers.sh +++ b/tools/jenkins/Sanitizers.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e @@ -48,10 +48,10 @@ fi for pkg in xsltproc do if command -v $pkg - then + then echo "$pkg is installed. Good." - else - die "please install $pkg before proceeding" + else + die "please install $pkg before proceeding" fi done @@ -78,10 +78,10 @@ cmake -Denable_documentation=OFF -Denable_lua=ON -Denable_java=OFF \ -Denable_jedule=ON -Denable_mallocators=OFF \ -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_model-checking=OFF \ -Denable_memcheck=OFF -Denable_memcheck_xml=OFF -Denable_smpi_ISP_testsuite=ON -Denable_coverage=OFF\ - -Denable_fortran=OFF ${SANITIZER_OPTIONS} $WORKSPACE + -Denable_fortran=OFF -Denable_python=OFF ${SANITIZER_OPTIONS} $WORKSPACE -make -j$NUMPROC -ctest -D ExperimentalTest || true +make -j$NUMPROC tests +ctest --no-compress-output -D ExperimentalTest || true if [ -f Testing/TAG ] ; then xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/$(head -n 1 < Testing/TAG)/Test.xml > CTestResults_${SANITIZER}.xml