Re: [CMake] Fwd: generating CTest tests

2009-08-31 Thread Marcel Loose
Hi John, How do you get these CPU times printed. I've never seen these before. Or is that a Windows thingy, that doesn't work on Linux? Best regards, Marcel Loose. On Fri, 2009-08-28 at 14:14 -0400, John Drescher wrote: 1Performing Post-Build Event... 1Start processing tests 1Test project

Re: [CMake] Fwd: generating CTest tests

2009-08-31 Thread David Cole
That feature (printing the timings) is in CVS HEAD of ctest. It's not in a cmake release yet On Mon, Aug 31, 2009 at 5:34 AM, Marcel Loose lo...@astron.nl wrote: Hi John, How do you get these CPU times printed. I've never seen these before. Or is that a Windows thingy, that doesn't work

[CMake] Fwd: generating CTest tests

2009-08-28 Thread John Drescher
-- Forwarded message -- From: John Drescher dresche...@gmail.com Date: Fri, Aug 28, 2009 at 1:53 PM Subject: Re: [CMake] generating CTest tests To: Alex H aditya15...@hotmail.com On Fri, Aug 28, 2009 at 1:38 PM, Alex Haditya15...@hotmail.com wrote: Hello, In the ADD_TEST

Re: [CMake] Fwd: generating CTest tests

2009-08-28 Thread Alex H
of the program? The add_test command just adds the test to be performed using aspecific argument but it never tests the output... Alex Date: Fri, 28 Aug 2009 13:53:33 -0400 From: dresche...@gmail.com To: cmake@cmake.org Subject: [CMake] Fwd: generating CTest tests -- Forwarded

Re: [CMake] Fwd: generating CTest tests

2009-08-28 Thread John Drescher
On Fri, Aug 28, 2009 at 2:07 PM, Alex Haditya15...@hotmail.com wrote: Hello, My problem is actually really simple I have a .cpp file and the program just basically take an int as an argument, if the argument is from certain numbers it returns a 1 otherwise 0. Now I need to create a unit test

Re: [CMake] Fwd: generating CTest tests

2009-08-28 Thread Alex H
testpage have inside of it? Alex H. Date: Fri, 28 Aug 2009 14:14:21 -0400 Subject: Re: [CMake] Fwd: generating CTest tests From: dresche...@gmail.com To: aditya15...@hotmail.com; cmake@cmake.org On Fri, Aug 28, 2009 at 2:07 PM, Alex Haditya15...@hotmail.com wrote: Hello, My problem

Re: [CMake] Fwd: generating CTest tests

2009-08-28 Thread David Cole
On Fri, Aug 28, 2009 at 3:11 PM, Alex H aditya15...@hotmail.com wrote: Hello, So where do we specify/put in the CMakeLists.txt where test1 is expected to fail or pass? How does CTest knows this... If your program returns a 0, it passes. If it does not, it fails. If you want to invert this

Re: [CMake] Fwd: generating CTest tests

2009-08-28 Thread Alex H
.. I am confused what to put inside testpage, an example would help. Date: Fri, 28 Aug 2009 15:27:43 -0400 Subject: Re: [CMake] Fwd: generating CTest tests From: david.c...@kitware.com To: aditya15...@hotmail.com CC: cmake@cmake.org On Fri, Aug 28, 2009 at 3:11 PM, Alex H aditya15...@hotmail.com