Ok, I have the patch working and I'm going to send it soon. One question, is it possible to launch a detached process from within CMake? If I use EXECUTE_PROCESS to start p4d, CMake waits for it to finish so -for now- I'm launching the Perforce daemon outside CMake.
Pedro On Wed, Oct 16, 2013 at 1:10 PM, Brad King <brad.k...@kitware.com> wrote: > On 10/16/2013 03:11 PM, Pedro Navarro wrote: > > I was thinking that as the test requires the p4 tool to be installed, > > we might as well require also p4d (the server, which is now free for > > up to 20 users). In that case the test can bring up a local server > > and work against it which, in the end, will create less issues as > > the p4 database will be deleted when the test ends. If we work against > > a real production server we might not be able to use p4 obliterate > > and we will be leaving those temporary checkins the test does > > polluting the history, and that might not be desired. > > We definitely need the test to run against a fresh repository each > time. The other VCS tool tests all create local repos from scratch > when they run. Whatever you need to require to achieve this with > P4 is acceptable. > > Thanks, > -Brad >
-- 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: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers