A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
tools
/
jenkins
/
DynamicAnalysis.sh
diff --git
a/tools/jenkins/DynamicAnalysis.sh
b/tools/jenkins/DynamicAnalysis.sh
index
24beffe
..
cd9b2b4
100755
(executable)
--- a/
tools/jenkins/DynamicAnalysis.sh
+++ b/
tools/jenkins/DynamicAnalysis.sh
@@
-20,9
+20,9
@@
do_cleanup() {
### Check the node installation
### Check the node installation
-for pkg in xsltproc valgrind
+for pkg in xsltproc valgrind
gcovr
do
do
- if
dpkg -l |grep -q $pkg
+ if
command -v $pkg
then
echo "$pkg is installed. Good."
else
then
echo "$pkg is installed. Good."
else
@@
-30,13
+30,6
@@
do
fi
done
fi
done
-if [ -e /usr/local/gcovr-3.1/scripts/gcovr ]
-then
- echo "gcovr is installed, good."
-else
- die "Please install /usr/local/gcovr-3.1/scripts/gcovr"
-fi
-
### Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
### Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
@@
-52,17
+45,15
@@
done
cd $WORKSPACE/build
### Proceed with the tests
cd $WORKSPACE/build
### Proceed with the tests
+ctest -D ExperimentalStart || true
-cmake -Denable_documentation=OFF -Denable_lua=OFF
-Denable_tracing=ON
\
+cmake -Denable_documentation=OFF -Denable_lua=OFF \
-Denable_compile_optimizations=OFF -Denable_compile_warnings=ON \
-Denable_compile_optimizations=OFF -Denable_compile_warnings=ON \
- -Denable_
latency_bound_tracking=OFF -Denable_
jedule=OFF -Denable_mallocators=OFF \
+ -Denable_jedule=OFF -Denable_mallocators=OFF \
-Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_model-checking=OFF \
-Denable_memcheck_xml=ON $WORKSPACE
-Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_model-checking=OFF \
-Denable_memcheck_xml=ON $WORKSPACE
-make
-ctest -D ExperimentalStart || true
-ctest -D ExperimentalConfigure || true
-ctest -D ExperimentalBuild || true
+ctest -D ExperimentalBuild -V
ctest -D ExperimentalMemCheck || true
cd $WORKSPACE/build
ctest -D ExperimentalMemCheck || true
cd $WORKSPACE/build
@@
-72,22
+63,20
@@
if [ -f Testing/TAG ] ; then
fi
make clean
fi
make clean
+ctest -D ExperimentalStart || true
-cmake -Denable_documentation=OFF -Denable_lua=ON -Denable_java=ON
-Denable_tracing=ON
\
+cmake -Denable_documentation=OFF -Denable_lua=ON -Denable_java=ON \
-Denable_compile_optimizations=OFF -Denable_compile_warnings=ON \
-Denable_compile_optimizations=OFF -Denable_compile_warnings=ON \
- -Denable_
latency_bound_tracking=ON -Denable_
jedule=ON -Denable_mallocators=ON \
- -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_model-checking=ON
\
+ -Denable_jedule=ON -Denable_mallocators=ON \
+ -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_model-checking=ON \
-Denable_memcheck=OFF -Denable_memcheck_xml=OFF -Denable_smpi_ISP_testsuite=ON -Denable_coverage=ON $WORKSPACE
-Denable_memcheck=OFF -Denable_memcheck_xml=OFF -Denable_smpi_ISP_testsuite=ON -Denable_coverage=ON $WORKSPACE
-make
-ctest -D ExperimentalStart || true
-ctest -D ExperimentalConfigure || true
-ctest -D ExperimentalBuild || true
-ctest -D ExperimentalTest || true
+ctest -D ExperimentalBuild -V
+ctest -D ExperimentalTest -E liveness || true
ctest -D ExperimentalCoverage || true
if [ -f Testing/TAG ] ; then
ctest -D ExperimentalCoverage || true
if [ -f Testing/TAG ] ; then
-
/usr/local/gcovr-3.1/scripts/gcovr -r .. --xml-pretty --exclude teshsuite.* --exclude build
.* -u -o $WORKSPACE/xml_coverage.xml
+
gcovr -r .. --xml-pretty -e teshsuite
.* -u -o $WORKSPACE/xml_coverage.xml
xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > CTestResults_memcheck.xml
mv CTestResults_memcheck.xml $WORKSPACE
fi
xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > CTestResults_memcheck.xml
mv CTestResults_memcheck.xml $WORKSPACE
fi