[CMake] CTest and multiple repositories

Martin Santa María martin_san03 at hotmail.com
Fri Oct 16 05:28:41 EDT 2009


Hello everybody,

 

I don't know if we can post non-cmake questions here. But I have a problem with ctest and perhaps one of you can help me.

My project is build up as a directory structure. This directory structure is composed by differents checkouts from differents repositories.

 

root directory (in repository 1)

   some folders (in respository 1)

   some folders (in respository 2)

 

Each directory has a CMakeLists.txt that add test and I lunch only one CMake configuration for the hole structure (so I have only one solution, in case of MSVS)

I'm having problems with "ctest -D NightlyUpdate" procedure because it updates only the first repository (files in repository 1).

So, Can I solve the problem with a strage script that update the directory structure regarless the respository (like implementing another svn.exe that recurses the structure intead of the default svn implementation that doesn't do this), or would I have problems with ctest because, for example, multiples revisions numbers.

 

Now I'm performing a manual update of all repositories before lunching ctest without calling NightlyUpdate, but when commiting to CDash, I don't have users statistics and other usefull information because the update info was not submitted.

 

Do you know the best solution?

 

Thanks you for your time. Regards,

 

 

Martin
 		 	   		  
_________________________________________________________________
Recibí alertas de tránsito en tu celu y llegá antes a tu destino. MSN Mapas te ayuda
http://www.msnmapas.com/sms-mms-transito.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091016/51e0fada/attachment.htm>


More information about the CMake mailing list