X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ca93f42431655d4f75485938e74fcdba24f59af6..c7fbd4746cc813549778670691ea29b4ae271906:/tools/jenkins/DynamicAnalysis.sh diff --git a/tools/jenkins/DynamicAnalysis.sh b/tools/jenkins/DynamicAnalysis.sh index 53ec6d494f..9faa38b67a 100755 --- a/tools/jenkins/DynamicAnalysis.sh +++ b/tools/jenkins/DynamicAnalysis.sh @@ -30,7 +30,7 @@ do fi done -### Cleanup previous runs +### Cleanup previous runs ! [ -z "$WORKSPACE" ] || die "No WORKSPACE" [ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist" @@ -46,7 +46,7 @@ NUMPROC="$(nproc)" || NUMPROC=1 cd $WORKSPACE/build -### Proceed with the tests +### Proceed with the tests ctest -D ExperimentalStart || true cmake -Denable_documentation=OFF -Denable_lua=OFF \ @@ -63,7 +63,7 @@ cd $WORKSPACE/build if [ -f Testing/TAG ] ; then find $WORKSPACE -iname "*.memcheck" -exec mv {} $WORKSPACE/memcheck \; #remove all "empty" files - pcregrep -r -l -M "status\>\n\n\" $WORKSPACE/memcheck | xargs rm -f + mv Testing/$(head -n 1 < Testing/TAG)/Test.xml $WORKSPACE/DynamicAnalysis.xml fi