[Insight-users] [ITK Community] 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


More information about the Insight-users mailing list