[Insight-developers] Using ITKv4 Exported Targets In SimpleITK
    Bradley Lowekamp 
    blowekamp at mail.nih.gov
       
    Mon Oct  3 16:57:15 EDT 2011
    
    
  
Hello,
I think I would like to uses the ITKv4 Exported itkTestingDriver target in SimpleITK. I am not sure how to do this for both installed and binary directories of ITK.
I am just using the regular "include( ${ITK_USE_FILE} )" and then: 
set( ITK_TEST_DRIVER  "itkTestDriver" )
add_test(NAME Python.${name}
     COMMAND "${ITK_TEST_DRIVER}"
     ${command}
     ${ARGN}
    )
This appears to be working fine with the nightly superbuilds, but the system I have building the nightly ITK, and then SimpleITK against that build appear to be getting confused:
http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=1589051
The test with  "Example" in the name use the itkTestDriver.
http://www.cdash.org/CDash/testDetails.php?test=113416862&build=1589051
 It appears that the test picked is out of my home directory and not related to the ITK_DIR just built.
What is the correct way to refer to the "itkTestDriver" so that it'll work from installed ITK's and binary build directories of ITK?
Thanks,
Brad
========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20111003/ef97309c/attachment.htm>
    
    
More information about the Insight-developers
mailing list