From: Eduardo Davila Date: Wed, 25 Aug 2010 18:18:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CREATOOLS.2-0-3~79 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e2958d22c6729c6be6c44e4c43a2acc1bcca4d65;p=creaToolsTools.git *** empty log message *** --- diff --git a/ctest/dashboard/All.bat b/ctest/dashboard/All.bat index 1a4ef15..f4f7673 100644 --- a/ctest/dashboard/All.bat +++ b/ctest/dashboard/All.bat @@ -6,7 +6,7 @@ set creasourcefolder=crea set creabinfolder=creaBin call cvscheckout.bat %creasourcefolder% call cmakemod.bat %creasourcefolder% %creabinfolder% -call creaVariables.bat %creabinfolder% +call creaVariables.bat %creabinfolder% %creasourcefolder% call compilemod.bat %buildtype% %creabinfolder% call ctestmod.bat %creabinfolder% set creadll=%~dp0 diff --git a/ctest/dashboard/Readme.txt b/ctest/dashboard/Readme.txt index 4c9dcef..9c44a1c 100644 --- a/ctest/dashboard/Readme.txt +++ b/ctest/dashboard/Readme.txt @@ -10,5 +10,35 @@ from http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload Copy all the .bat files into one directoy where the tests are going to be run execute All.bat +Not forget to run your ssh key with putyAgent + All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run. + + + +=================== + +=============Install cmake ========================= +1) Install cmake outside the directory "Programs Files" +To avoid the probleme of: Read only + + +=============Test dashboard in local with: Windows, php, mysql + + +0) +Install EasyPhp outside of "Programs Files" directory +avoid Read Only conflicts + +1) +Download with svn CDASH +https://www.kitware.com/svn/CDash/Release-1-6-4 +y put it in www of your "/EasyPHP" instalation + +2) modify php.ini confiuration +In EasyPHP=5.3.3/conf_files + php.ini + uncomment : + extension=php_xsl.dll + extension=php_curl.dll diff --git a/ctest/dashboard/cmakemod.bat b/ctest/dashboard/cmakemod.bat index f9ae755..f6310c9 100644 --- a/ctest/dashboard/cmakemod.bat +++ b/ctest/dashboard/cmakemod.bat @@ -1,8 +1,10 @@ set currentdir=%~dp0 set currentdir=%currentdir:\=/% +set dirInstall=%currentdir%/tmpCreaTools_INSTALL/%1% + mkdir %2 cd %2 cmake -G"Visual Studio 9 2008" -H%currentdir%%1 -B%currentdir%%2 -cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=%currentdir%/tmpINSTALL CMakeCache.txt +cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=%dirInstall% CMakeCache.txt cd .. diff --git a/ctest/dashboard/compilemod.bat b/ctest/dashboard/compilemod.bat index 4632b82..7a1f17f 100644 --- a/ctest/dashboard/compilemod.bat +++ b/ctest/dashboard/compilemod.bat @@ -1,6 +1,6 @@ cd %2 call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1 -FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1 INSTALL.vcproj -FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1 PACKAGE.vcproj +FOR /R %%a IN (*.sln) DO msbuild %%a INSTALL.vcproj +FOR /R %%a IN (*.sln) DO msbuild %%a PACKAGE.vcproj cd .. diff --git a/ctest/dashboard/ctestmod.bat b/ctest/dashboard/ctestmod.bat index 5cc5c70..d59d07b 100644 --- a/ctest/dashboard/ctestmod.bat +++ b/ctest/dashboard/ctestmod.bat @@ -4,6 +4,6 @@ ctest -D ContinuousStart -D ContinuousUpdate -D ContinuousConfigure -D Continuou ctest -D ContinuousMemCheck -D ContinuousSubmit ctest -D ExperimentalStart -D ExperimentalUpdate -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit ctest -D ExperimentalMemCheck -D ExperimentalSubmit -ctest -D NightlyStart -D NightlyUpdate -D NightlyConfigure -D NightlyBuild -D NightlyTest -D NightlySubmit +rem EED>> ctest -D NightlyStart -D NightlyUpdate -D NightlyConfigure -D NightlyBuild -D NightlyTest -D NightlySubmit ctest -D NightlyMemCheck -D NightlySubmit cd .. \ No newline at end of file diff --git a/ctest/dashboard/cvscheckout.bat b/ctest/dashboard/cvscheckout.bat index ed50958..88f512b 100644 --- a/ctest/dashboard/cvscheckout.bat +++ b/ctest/dashboard/cvscheckout.bat @@ -1,2 +1 @@ - -cvs -d :ssh:prieto@cvs.creatis.insa-lyon.fr:/cvs/creatis checkout %1 \ No newline at end of file +cvs -d :ssh:davila@cvs.creatis.insa-lyon.fr:/cvs/creatis checkout %1