[CMake] weird output with ctest

2009-08-30 Thread Alex H

I have the following command in my CMakeLists.txt and I run the test using the 
command ctest -VV -R test. However the test results doesn't print anything that 
I defined on the test code, it just shows the test passed.
add_test(test ../build/gbc 0.1 0.3 0.5 0.7 0.9)

When I run ./gbc 0.1 0.3 0.5 0.7 0.9 it does print several stuffs in the code.. 
why is this?



_
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/indonesia/windows/windowslive/products/photo-gallery-edit.aspx___
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://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] weird output with ctest

2009-08-30 Thread John Drescher
> I have the following command in my CMakeLists.txt and I run the test using
> the command ctest -VV -R test. However the test results doesn't print
> anything that I defined on the test code, it just shows the test passed.
> add_test(test ../build/gbc 0.1 0.3 0.5 0.7 0.9)
>
That is all it is supposed to do.

John
___
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://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] weird output with ctest

2009-08-30 Thread Alex H




Well problem is why doesn't it print the std::cout that I've put inside main? 
while it's running main


> Date: Sun, 30 Aug 2009 17:20:26 -0400
> Subject: Re: [CMake] weird output with ctest
> From: dresche...@gmail.com
> To: aditya15...@hotmail.com; cmake@cmake.org
> 
>> I have the following command in my CMakeLists.txt and I run the test using
>> the command ctest -VV -R test. However the test results doesn't print
>> anything that I defined on the test code, it just shows the test passed.
>> add_test(test ../build/gbc 0.1 0.3 0.5 0.7 0.9)
>>
> That is all it is supposed to do.
> 
> John

_
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx___
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://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] weird output with ctest

2009-08-31 Thread Bill Lorensen
It should print when you specify -V or -VV. Can you post a small
example that does not print?


Bill

On Sun, Aug 30, 2009 at 9:14 PM, Alex H wrote:
>
>
>
> Well problem is why doesn't it print the std::cout that I've put inside
> main? while it's running main
>
>
>> Date: Sun, 30 Aug 2009 17:20:26 -0400
>> Subject: Re: [CMake] weird output with ctest
>> From: dresche...@gmail.com
>> To: aditya15...@hotmail.com; cmake@cmake.org
>>
>>> I have the following command in my CMakeLists.txt and I run the test
>>> using
>>> the command ctest -VV -R test. However the test results doesn't print
>>> anything that I defined on the test code, it just shows the test passed.
>>> add_test(test ../build/gbc 0.1 0.3 0.5 0.7 0.9)
>>>
>> That is all it is supposed to do.
>>
>> John
>
> 
> Party with Buddy! Bling out your Messenger with free winks & emoticons.
> Click here
> ___
> 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://www.cmake.org/mailman/listinfo/cmake
>
___
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://www.cmake.org/mailman/listinfo/cmake