<br><br><div class="gmail_quote">On Fri, Apr 23, 2010 at 5:56 PM, Magnus Therning <span dir="ltr"><<a href="mailto:magnus@therning.org">magnus@therning.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Fri, Apr 23, 2010 at 16:35, Tyler Roscoe <<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>> wrote:<br>
> On Fri, Apr 23, 2010 at 04:24:06PM +0100, Magnus Therning wrote:<br>
>> A project that I'm currently trying to convert over to CMake has<br>
>> several unit tests written as standalone executables. Are there any<br>
>> examples around for integrating the running of such tests as part of<br>
>> the build in CMake?<br>
><br>
> add_test just takes a command line. You can put whatever you want in<br>
> there and ctest will run it for you.<br>
><br>
> <a href="http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:add_test" target="_blank">http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:add_test</a><br>
<br>
Ah, yes, that comes closer to what I want. Thanks. Now I only want<br>
the test's stdout to be connected to the stdout so I can see the<br>
results immediately<br></blockquote><div><br>Run ctest with the -V or -VV option<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
/M.<br>
<br>
--<br>
Magnus Therning (OpenPGP: 0xAB4DFBA4)<br>
magnus@therning.org Jabber: magnus@therning.org<br>
<a href="http://therning.org/magnus" target="_blank">http://therning.org/magnus</a> <a href="http://identi.ca" target="_blank">identi.ca</a>|twitter: magthe<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></blockquote></div><br><br clear="all"><br>-- <br>Adolfo Rodríguez Tsouroukdissian, Ph. D.<br><br>Robotics engineer<br>
PAL ROBOTICS S.L<br><a href="http://www.pal-robotics.com">http://www.pal-robotics.com</a><br>Tel. +34.93.414.53.47<br>Fax.+34.93.209.11.09<br>AVISO DE CONFIDENCIALIDAD: Este mensaje y sus documentos adjuntos, pueden contener información privilegiada y/o confidencial que está dirigida exclusivamente a su destinatario. Si usted recibe este mensaje y no es el destinatario indicado, o el empleado encargado de su entrega a dicha persona, por favor, notifíquelo inmediatamente y remita el mensaje original a la dirección de correo electrónico indicada. Cualquier copia, uso o distribución no autorizados de esta comunicación queda estrictamente prohibida.<br>
<br>CONFIDENTIALITY NOTICE: This e-mail and the accompanying document(s) may contain confidential information which is privileged and intended only for the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of this e-mail and/or accompanying document(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender at the above e-mail address.<br>