[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] Controlling output of ctest
From: Ashok Nalkund <ashoknn () qti ! qualcomm ! com>
Date: 2014-08-27 1:32:01
Message-ID: 53FD3511.20701 () qti ! qualcomm ! com
[Download RAW message or body]
I think I've found the solution at
http://www.vtk.org/Wiki/CMake_Testing_With_CTest. I'm going to try
setting CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE and
CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE and report back.
Thanks,
Ashok
On 8/26/2014 6:24 PM, Ashok Nalkund wrote:
> Hi,
> I use cmake/ctest to build and run my tests. I'm using "ctest -T
> Test -V --output-on-failure --no-compress-output -R ...". I noticed
> that some of the tests have truncated output in the Test.xml report.
> Also I see the truncation length is different in different scenarios.
> From what I see, if the test failed, the length is 307200:
> > [DEBUG3] [FeatureInstanceReader][ReadNext] IsGood 1, IsEOF 0
> > [DEBUG1...
> > The rest of the test output was removed since it exceeds the
> > threshold of 307200 bytes.
> > </Value>
>
> But if the test had passed, the length is 1024:
> > push:
> > /local/mnt/workspace/jenkins-slave/workspace/build/arm-android-gcc4...
> > The rest of the test output was removed since it exceeds the
> > threshold of 1024 bytes.
> > </Value>
>
> The actual binary executed in the test is a gtest binary. I'm using
> cmake/ctest 2.8.9.
>
> Can somebody shed light on why the threshold is different in the two
> cases? Also can I completely remove the threshold? I've read that
> having 'CTEST_FULL_OUTPUT' anywhere in the output will allow me to do
> that but I'm hoping to avoid having each of my test output that.
>
> TIA,
> Ashok
>
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic