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
yet another attempt at testing the tuto on jenkins
[simgrid.git]
/
tools
/
jenkins
/
Sanitizers.sh
diff --git
a/tools/jenkins/Sanitizers.sh
b/tools/jenkins/Sanitizers.sh
index
63064ba
..
2c0cfa3
100755
(executable)
--- a/
tools/jenkins/Sanitizers.sh
+++ b/
tools/jenkins/Sanitizers.sh
@@
-1,4
+1,4
@@
-#!/
bin/
sh
+#!/
usr/bin/env
sh
set -e
set -e
@@
-55,7
+55,7
@@
do
fi
done
fi
done
-###
Cleanup previous runs
+###
Cleanup previous runs
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist"
! [ -z "$WORKSPACE" ] || die "No WORKSPACE"
[ -d "$WORKSPACE" ] || die "WORKSPACE ($WORKSPACE) does not exist"
@@
-81,10
+81,10
@@
cmake -Denable_documentation=OFF -Denable_lua=ON -Denable_java=OFF \
-Denable_fortran=OFF ${SANITIZER_OPTIONS} $WORKSPACE
make -j$NUMPROC
-Denable_fortran=OFF ${SANITIZER_OPTIONS} $WORKSPACE
make -j$NUMPROC
-ctest -D ExperimentalTest || true
+ctest -
-no-compress-output -
D ExperimentalTest || true
if [ -f Testing/TAG ] ; then
if [ -f Testing/TAG ] ; then
- xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/
`head -n 1 < Testing/TAG`
/Test.xml > CTestResults_${SANITIZER}.xml
+ xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/
$(head -n 1 < Testing/TAG)
/Test.xml > CTestResults_${SANITIZER}.xml
mv CTestResults_${SANITIZER}.xml $WORKSPACE
fi
mv CTestResults_${SANITIZER}.xml $WORKSPACE
fi