[CMake] ctest to output files

Andrew Bell andrew.bell.ia at gmail.com
Wed Aug 1 09:05:53 EDT 2018


We do this in a single test, where the test calls some function like
"compare_results".

On Wed, Aug 1, 2018 at 12:32 AM, Quang Ha <quang.t.ha.20 at gmail.com> wrote:

> Hi all,
>
> Is there a way to let ctest create an output file after a certain test?
> Say I want to run test 1 (name "run_simulation"), which is a simulation and
> should produce an output file containing numerical results. I then want to
> compare it against analytical results in test 2 (name "compare_results")?
>
> Thanks,
> QT
>
> --
>
> 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:
> https://cmake.org/mailman/listinfo/cmake
>
>


-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180801/ec74ada4/attachment.html>


More information about the CMake mailing list