[ITK Community] [Insight-users] run test manually

Matt McCormick matt.mccormick at kitware.com
Sat Jan 4 22:34:32 EST 2014


Hi David,

On Thu, Jan 2, 2014 at 5:05 AM, David Froger <david.froger at inria.fr> wrote:
>> Alternatively,
>> If you have your ITK build tree ready with the cache entry:BUILD_TESTING=ON.
>> You could just run the single test with ctest, e.g.:
>> ctest -R HDF5ImageIOStreamingReadWriteTest
>>  from the root of the ITK build tree, or from the ${the root of the ITK build
>> tree}/Modules/IO/HDF5/test/.
>
> Hi,
>
> It works nice, I can see the standard output of
> itkHDF5ImageIOStreamingReadWriteTest.cxx in Testing/Temporary/LastTest.log,
> but is there a way to have access to the files that itkHDF5ImageIOStreamingReadWriteTest.cxx
> created (for example StreamingUCharImage.hdf5)?

Most tests pass in the paths to input and output test files as command
line arguments to the test.  To see the command line arguments, run
with "-V", e.g.

  ctest -R HDF5ImageIOStreamingReadWriteTest -V

>
> Seems that ctest deletes the working directory of test?

I don't think so.

Thanks,
Matt
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users



More information about the Community mailing list