[Insight-developers] itkTestDriver.cxx

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sat Sep 9 17:43:06 EDT 2006


Le Sat, 09 Sep 2006 21:36:02 +0200, Luis Ibanez <luis.ibanez at kitware.com>  
a écrit:

>
> Yeap,
> it makes more sense to move the three of them to
>
>             Insight/Testing/Code/IO
>
>
> Note that they should go into IO rather than Common
> because IO depends on Common and not the other way.
>
> (I was wrong initially suggesting to put it in
>   Testing/Code/Common)
>
> We can rework the CMakeLists file so it is always
> build regarless of the settings of the BUILD_TESTING
> flag.
>
> Gaetan: Would you like to move the files ?
>          Would you like me to move them ?
>
> either way is fine with me, just let me know
>

I'm not sure to see how to cleanly make them build even if BUILD_TESTING  
is OFF.
So I think I will let you do that :-)

Thanks,

Gaetan


>
>
>     Thanks
>
>
>       Luis
>
>
>
> ----------------------
> Gaëtan Lehmann wrote:
>> Le Sat, 09 Sep 2006 16:40:50 +0200, Bill Lorensen  
>> <wlorens1 at nycap.rr.com>  a écrit:
>>
>>> Good point. Testing/Code/Common is probably the best place.
>>>
>>  itkTestDriver is useful only to run tests, However:
>>  - it can be used to run tests even if ITK hasn't been built with its   
>> tests, for the IJ for example
>>  - it is used to run the wrappers tests, and so must be built even if  
>> ITK  is built without BUILD_TESTING ON
>> Is it easy (and clean) to put it in Testing/Code/Common and built it  
>> even  if BUILD_TESTING is OFF ?
>>
>>> Bill
>>>
>>> At 09:47 AM 9/9/2006, Luis Ibanez wrote:
>>>
>>>> Hi Bill,
>>>>
>>>> You are right, this is the only executable to reside inside
>>>> Insight/Code.
>>   There is also ImageCompare and ImageCopy :-)
>>  Gaetan
>>
>>>>
>>>> Utilities could be an option, but the dependencies will be
>>>> reverted, because the typical relationship is that ITKCommon
>>>> depend on Utilities.  If we put the executable in Utilities
>>>> we will have something that depends on ITKCommon and ITKIO.
>>>>
>>>> Another option is to put it in Insight/Testing/Code, in any
>>>> case, ImageCompare is only needed if Testing is ON...
>>>>
>>>>
>>>>    Luis
>>>>
>>>>
>>>> -------------------------------------------
>>>> Lorensen, William E (GE, Research) wrote:
>>>>
>>>>> Luis and Gaetan,
>>>>> Is Code/IO the proper location for itkTestDriver.cxx? There are no   
>>>>> other executables built in Insgiht/Code.
>>>>> Perhaps it should reside in Utilities?
>>>>> Bill
>>>>> _______________________________________________
>>>>> Insight-developers mailing list
>>>>> Insight-developers at itk.org
>>>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Insight-developers mailing list
>>>> Insight-developers at itk.org
>>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>
>>>
>>> _______________________________________________
>>> Insight-developers mailing list
>>> Insight-developers at itk.org
>>> http://www.itk.org/mailman/listinfo/insight-developers
>>
>
>



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list