[CMake] run tests on 5 machines

2011-10-10 Thread Mihai Sandu
How can I run tests on 5 machines in same time? This is how I run the tests on a machine: execute_process (COMMAND ssh user@host "ctest -VV -O file.txt -S Test.cmake") and I want to run this command in the same time on 5 machines. Thanks you. -- Powered by www.kitware.com Visit other Kitware o

[CMake] string(FIND)

2011-07-14 Thread Mihai Sandu
"string does not recognize sub-command FIND" Can anyone know why this happens? I use cmake 2.8.5 and it happens only when I make nightly builds. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensour

Re: [CMake] tests from list

2011-03-01 Thread Mihai Sandu
Thanks. On Mon, Feb 28, 2011 at 8:01 PM, Bill Hoffman wrote: > On 2/28/2011 9:47 AM, Mihai Sandu wrote: > >> There is a way to run tests from a list? >> >> ctest test1 test2 test3 >> >> >> >> > ctest -R test1|test2|test3 > > -Bill > >

[CMake] tests from list

2011-02-28 Thread Mihai Sandu
There is a way to run tests from a list? ctest test1 test2 test3 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: ht

[CMake] upload multiple files

2011-02-11 Thread Mihai Sandu
I want to upload multiple files and I think to do it with scp. function (SSHUpload WORKDIR HOST USERNAME SOURCE DESTINATION) find_program( SCP_PATH NAMES scp ) execute_process(WORKING_DIRECTORY ${WORKDIR} COMMAND ${SCP_PATH} ${SOURCE} ${USERNAME}@${HOST}:${DESTINATION}