11 for d in "$WORKSPACE/build" "$WORKSPACE/memcheck"
15 rm -rf "$d" || die "Could not remote $d"
18 find $WORKSPACE -name "memcheck_test_*.memcheck" -exec rm {} \;
21 ### Check the node installation
27 echo "$pkg is installed. Good."
29 die "please install $pkg before proceeding"
33 ### Cleanup previous runs
35 ! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
36 [ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist"
40 for d in "$WORKSPACE/build" "$WORKSPACE/memcheck"
42 mkdir "$d" || die "Could not create $d"
47 ### Proceed with the tests
48 ctest -D ExperimentalStart || true
50 cmake -Denable_documentation=OFF -Denable_lua=OFF \
51 -Denable_compile_optimizations=OFF -Denable_compile_warnings=ON \
52 -Denable_jedule=OFF -Denable_mallocators=OFF \
53 -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_model-checking=OFF \
54 -Denable_memcheck_xml=ON $WORKSPACE
56 ctest -D ExperimentalBuild -V
57 ctest -D ExperimentalMemCheck || true
60 if [ -f Testing/TAG ] ; then
61 find . -iname "*.memcheck" -exec mv {} $WORKSPACE/memcheck \;
62 mv Testing/`head -n 1 < Testing/TAG`/DynamicAnalysis.xml $WORKSPACE