]> 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 da61e4f6d4c2f05579c7a278b792e15da8ad8245..48da3b84db623d42b67a9695588d80526783bf28 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 b9998eaadb9b29375ef8f5abe1bd7b7cb99cfebd..d023a628f34b2c463e1309b11eb721227c3f9085 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 8d91cba2e4da50b30fc950d24dc1c585ef7a20d2..770941d13768ee799a33b80a9286a35fa557503c 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