X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e709643ef0c5b61c6c878016c418bffa2b1b20cd..196b543c8e909828b40e851eaf4443ee28f76c70:/tools/jenkins/DynamicAnalysis.sh diff --git a/tools/jenkins/DynamicAnalysis.sh b/tools/jenkins/DynamicAnalysis.sh index f3e2930c0a..55d2ad02f8 100755 --- a/tools/jenkins/DynamicAnalysis.sh +++ b/tools/jenkins/DynamicAnalysis.sh @@ -1,12 +1,27 @@ #!/usr/bin/env sh -set -e - die() { echo "$@" exit 1 } +[ -n "$WORKSPACE" ] || die "No WORKSPACE" +[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist" + +echo "XXXX Cleanup previous attempts. Remaining content of /tmp:" +rm -f /tmp/cc* +rm -f /tmp/*.so +rm -f /tmp/*.so.* +rm -rf /tmp/simgrid-java* +rm -rf /var/tmp/simgrid-java* +rm -rf /tmp/jvm-* +find "$WORKSPACE" -name "hs_err_pid*.log" -exec rm -f {} + +ls /tmp +df -h +echo "XXXX Let's go" + +set -e + ### Check the node installation pkg_check() { @@ -25,9 +40,6 @@ pkg_check valgrind pcregrep ### Cleanup previous runs -[ -n "$WORKSPACE" ] || die "No WORKSPACE" -[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist" - do_cleanup() { for d do @@ -49,10 +61,11 @@ cd "$WORKSPACE"/build ### Proceed with the tests ctest -D ExperimentalStart || true -cmake -Denable_documentation=OFF -Denable_lua=OFF -Denable_python=OFF \ +cmake -Denable_documentation=OFF -Denable_python=OFF \ -Denable_compile_optimizations=OFF -Denable_compile_warnings=ON \ - -Denable_jedule=OFF -Denable_mallocators=OFF \ + -Denable_mallocators=OFF \ -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_model-checking=OFF \ + -Denable_ns3=ON \ -Denable_memcheck_xml=ON -DLTO_EXTRA_FLAG="auto" "$WORKSPACE"