<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
David Cole wrote:
<blockquote
cite="mid:f435c2c50912110430o23a705e8p45c709dd4429af55@mail.gmail.com"
type="cite">On Fri, Dec 11, 2009 at 3:58 AM, Martin Apel <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:martin.apel@simpack.de">martin.apel@simpack.de</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
all,<br>
<br>
I tried to set some CTest custom variables such as<br>
CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE in the CTestCustom.cmake<br>
file in the binary directory.<br>
This works as long as I run ctest interactively, e.g. "ctest -D<br>
Experimental". In this case, the test output is not cut off. If I do the<br>
same using a CTest script, it seems the CTestCustom.cmake file<br>
is completely ignored, so the test output is cut off at the default<br>
value of 1024 characters.<br>
Is this intended behaviour or is it a bug?</blockquote>
<div><br>
</div>
<div>Probably a little bit of each... </div>
<div><br>
</div>
<div>Try putting a call to:</div>
<div>CTEST_READ_CUSTOM_FILES("${CTEST_BINARY_DIRECTORY}")</div>
<div><br>
</div>
<div>after ctest_configure and before ctest_build...</div>
<div><br>
</div>
<div>One could certainly make the argument that this should be
entirely invisible and automatic and buried inside the ctest_configure
call. In that sense, it's a bug.</div>
<div><br>
</div>
<div>I know the author of the ctest_read_custom_files command
intended things to be this way, but I still do not understand why...
Perhaps if nobody can explain why it should be left this way, it would
make sense to try to make this implied/automatic at the end of a
ctest_configure command....</div>
<div><br>
</div>
<div><br>
</div>
<div>HTH,</div>
<div>David</div>
</div>
</blockquote>
Hi David,<br>
<br>
thanks a lot, this did the trick. <br>
<br>
Regards,<br>
<br>
Martin<br>
</body>
</html>