]> Creatis software - creaToolsTools.git/commitdiff
Modified CDash scripts to launch a clean compilation each night.
authorClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Tue, 8 Apr 2014 14:41:33 +0000 (16:41 +0200)
committerClaire Mouton <claire.mouton@creatis.insa-lyon.fr>
Tue, 8 Apr 2014 14:41:33 +0000 (16:41 +0200)
Linux/scripts/cdashmod.sh
Linux/scripts/compilation_from_installscript.sh
Linux/scripts/crontab

index da61e4f..48da3b8 100755 (executable)
@@ -47,10 +47,11 @@ git pull origin master
 # configures the compilation to enable testing  with CDash
 cd $2/creatools_bin/$3Bin
 pwd
-cmake -DBUILD_TESTING:BOOL=ON -DINCLUDE_CTEST:BOOL=ON -DCREA_BUILD_VTK:BOOL=ON -DCREA_BUILD_WX:BOOL=ON -DBOOST_SIGNALS_NO_DEPRECATION_WARNING:BOOL=ON $2/creatools_source/$3
+cmake -DBUILD_TESTING:BOOL=ON -DINCLUDE_CTEST:BOOL=ON -DCREA_BUILD_VTK:BOOL=ON -DCREA_BUILD_WX:BOOL=ON $2/creatools_source/$3
 cmake .
 cmake .
 
-# launches the compilation and sends the result to the dashboard
+# cleans and launches the compilation an and sends the result to the dashboard
+make clean
 make -j$4 Experimental
 
index b9998ea..d023a62 100644 (file)
@@ -16,6 +16,6 @@ cd creaToolsTools_crontabAnonymousAccess/Linux
 # Retrieves creatools source code, compiles and install 
 ./installscript creatools
 
-# to launch make experimental : this line is a perfect crontab if we do not want to do update of the git repositories
+# to launch make experimental after a make clean : this line is a perfect crontab if we do not want to do update of the git repositories
 bash /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/Linux/scripts/cdashscript.sh /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/Linux/scripts/cdashmod.sh /home/creatools/Creatis/creaToolsTools_crontabAnonymousAccess/ /home/creatools/Creatis/CreatoolsGenerationDir_crontabAnonymousAccess 4
 
index 8d91cba..770941d 100644 (file)
@@ -28,6 +28,6 @@ SHELL=/bin/bash
 MAILTO=cdash-admin@creatis.insa-lyon.fr
 
 # runs the tests at midnight
-0 0 * * * bash <CREATOOLS_PATH>/creaToolsTools/Linux/scripts/cdashscript.sh /home/creatools/Creatis/creaToolsTools/Linux/scripts/cdashmod.sh /home/creatools/Creatis/creaToolsTools/ /home/creatools/Creatis/CreatoolsGenerationDir 4
+# 0 0 * * * bash <CREATOOLS_PATH>/creaToolsTools/Linux/scripts/cdashscript.sh /home/creatools/Creatis/creaToolsTools/Linux/scripts/cdashmod.sh /home/creatools/Creatis/creaToolsTools/ /home/creatools/Creatis/CreatoolsGenerationDir 4
 
 0 0 * * * bash <CREATOOLS_PATH>/creaToolsTools/Linux/scripts/compilation_from_installscript.sh