Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the tesh.pl with its friend
[simgrid.git] / buildtools / jenkins / build.sh
index 2341297..7dbdcae 100755 (executable)
@@ -34,7 +34,7 @@ mkdir $WORKSPACE/build
 cd $WORKSPACE/build
 
 cmake -Denable_documentation=OFF $WORKSPACE
 cd $WORKSPACE/build
 
 cmake -Denable_documentation=OFF $WORKSPACE
-make dist VERBOSE=1
+make dist
 tar xzf `cat VERSION`.tar.gz
 cd `cat VERSION`
 
 tar xzf `cat VERSION`.tar.gz
 cd `cat VERSION`
 
@@ -63,14 +63,14 @@ cmake -Denable_debug=ON -Denable_documentation=OFF -Denable_coverage=OFF \
   -Denable_compile_warnings=ON -Denable_smpi=ON -Denable_lib_static=OFF \
   -Denable_latency_bound_tracking=OFF -Denable_gtnets=OFF -Denable_jedule=OFF \
   -Denable_tracing=ON -Denable_java=ON
   -Denable_compile_warnings=ON -Denable_smpi=ON -Denable_lib_static=OFF \
   -Denable_latency_bound_tracking=OFF -Denable_gtnets=OFF -Denable_jedule=OFF \
   -Denable_tracing=ON -Denable_java=ON
-make VERBOSE=1
+make
 
 cd $WORKSPACE/build
 cd `cat VERSION`
 
 TRES=0
 
 
 cd $WORKSPACE/build
 cd `cat VERSION`
 
 TRES=0
 
-ctest -T test --no-compress-output || true
+ctest -T test --output-on-failure --no-compress-output || true
 if [ -f Testing/TAG ] ; then
    xsltproc $WORKSPACE/buildtools/jenkins/ctest2junit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > CTestResults.xml
    mv CTestResults.xml $WORKSPACE
 if [ -f Testing/TAG ] ; then
    xsltproc $WORKSPACE/buildtools/jenkins/ctest2junit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > CTestResults.xml
    mv CTestResults.xml $WORKSPACE