It probably does work if you put it in a CTestCustom file.... Do you have a CTestCustom.ctest or CTestCustom.cmake file in your project? It needs to go in there, not in your main CMakeLists.txt.

Jan Woetzel wrote:

David Cole wrote:

Put "CTEST_FULL_OUTPUT" somewhere in your test's output and it should all come through...

David, thanks a lot - a per test setting should work for now.


However,
I was hoping for a ctest option to set the value explicitly in the configuratiuon file.
According to
cmCTestTestHandler.cxx:387
void cmCTestTestHandler::PopulateCustomVectors(cmMakefile *mf)
{
  ...
  this->CTest->PopulateCustomInteger(mf,
"CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE",
                             this->CustomMaximumPassedTestOutputSize);
  this->CTest->PopulateCustomInteger(mf,
"CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE",
                             this->CustomMaximumFailedTestOutputSize);
  ...

shouldn't this work ?
SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE "20000")
SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE "20000")

Jan.

--

 Dipl.-Ing. Jan Woetzel
--------------------------------------------------
 University of Kiel
 Institute of Computer Science and Applied Mathematics
 Hermann-Rodewald-Str. 3 [room 310]
 24098 Kiel/Germany
--------------------------------------------------
 Phone +49-431-880-4477
 Fax   +49-431-880-4054
 Mob.  +49-179-2937346
--------------------------------------------------
 Url   www.mip.informatik.uni-kiel.de/~jw
 Email [EMAIL PROTECTED]
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to