[Insight-users] Test Failures on Win64-VS9 for WrapITK (Python)

Constantine Zakkaroff mnkz at leeds.ac.uk
Mon Aug 20 10:12:42 EDT 2012


Hello ALL,

ITK 4.2 (with a few recent patches to correct minor problem) compiles 
without errors on Win64-VS9 but almost all tests fail. Please see the 
output from tests at the end of this message. I suspect something is 
missing from the build tree. In ITK 3.20 there was a 
SwigRuntimePython.dll but it doesn't get generated in 4.2.

Also, likely related or causing the test failures, in the build tree I 
noticed these two directories which look like they were created 
incorrectly. It looks like the ${BUILD_TYPE} didn't get expanded correctly:

Wrapping\Generators\Python\${BUILD_TYPE}
Wrapping\Generators\Python\itkExtras\${BUILD_TYPE}

It appears there's something not right with the CMake files in the 
Wrapping\Generators\Python directory, but I'm unable to spot it.

Any suggestions with making WrapITK with Python work on Windows would be 
appreciated.

Many thanks,
Constantine

       Start 2175: PythonTestDirectory
  1/64 Test #2175: PythonTestDirectory 
.......................................***Failed    0.57 sec
       Start 2176: PythonTestMetaDataDictionary
  2/64 Test #2176: PythonTestMetaDataDictionary 
..............................***Failed    0.40 sec
       Start 2177: PythonTestObject
  3/64 Test #2177: PythonTestObject 
..........................................***Failed    0.39 sec
       Start 2178: NonBlockingPythonFilterCoverage
  4/64 Test #2178: NonBlockingPythonFilterCoverage 
...........................   Passed    0.79 sec
       Start 2179: NonBlockingPythonSpatialObjectCoverage
  5/64 Test #2179: NonBlockingPythonSpatialObjectCoverage 
....................   Passed    0.86 sec
       Start 2180: NonBlockingPythonCostFunctionCoverage
  6/64 Test #2180: NonBlockingPythonCostFunctionCoverage 
.....................   Passed    1.43 sec
       Start 2181: PythonImageIOCoverage
  7/64 Test #2181: PythonImageIOCoverage 
.....................................   Passed    2.67 sec
       Start 2182: PythonOptimizerCoverage
  8/64 Test #2182: PythonOptimizerCoverage 
...................................   Passed    1.09 sec
       Start 2183: PythonTransformCoverage
  9/64 Test #2183: PythonTransformCoverage 
...................................   Passed    0.97 sec
       Start 2184: PythonFindEmptyClasses
10/64 Test #2184: PythonFindEmptyClasses 
....................................***Failed    0.42 sec
       Start 2185: PythonGetNameOfClass
11/64 Test #2185: PythonGetNameOfClass 
......................................***Failed    0.44 sec
       Start 2186: PythonTiming
12/64 Test #2186: PythonTiming 
..............................................***Failed    0.45 sec
       Start 2187: PythonTypemaps
13/64 Test #2187: PythonTypemaps 
............................................***Failed    0.39 sec
       Start 2188: PythonTemplate
14/64 Test #2188: PythonTemplate 
............................................***Failed    0.42 sec
       Start 2189: PythonAutoPipeline
15/64 Test #2189: PythonAutoPipeline 
........................................***Failed    0.40 sec
       Start 2190: PythonTemplatedPipeline
16/64 Test #2190: PythonTemplatedPipeline 
...................................***Failed    0.42 sec
       Start 2191: PythonExtras
17/64 Test #2191: PythonExtras 
..............................................***Failed    0.40 sec
       Start 2192: PythonModuleToModule
18/64 Test #2192: PythonModuleToModule 
......................................***Failed    0.39 sec
       Start 2193: PythonBinaryDilateImageFilter
19/64 Test #2193: PythonBinaryDilateImageFilter 
.............................***Failed    0.44 sec
       Start 2194: PythonBinaryErodeImageFilter
20/64 Test #2194: PythonBinaryErodeImageFilter 
..............................***Failed    0.39 sec
       Start 2195: PythonBinaryThresholdImageFilter
21/64 Test #2195: PythonBinaryThresholdImageFilter 
..........................***Failed    0.39 sec
       Start 2196: PythonCastImageFilter
22/64 Test #2196: PythonCastImageFilter 
.....................................***Failed    0.45 sec
       Start 2197: PythonGrayscaleDilateImageFilter
23/64 Test #2197: PythonGrayscaleDilateImageFilter 
..........................***Failed    0.39 sec
       Start 2198: PythonBoxGrayscaleDilateImageFilter
24/64 Test #2198: PythonBoxGrayscaleDilateImageFilter 
.......................***Failed    0.40 sec
       Start 2199: PythonGrayscaleErodeImageFilter
25/64 Test #2199: PythonGrayscaleErodeImageFilter 
...........................***Failed    0.39 sec
       Start 2200: PythonMeanImageFilter
26/64 Test #2200: PythonMeanImageFilter 
.....................................***Failed    0.40 sec
       Start 2201: PythonMedianImageFilter
27/64 Test #2201: PythonMedianImageFilter 
...................................***Failed    0.41 sec
       Start 2202: PythonSigmoidImageFilter
28/64 Test #2202: PythonSigmoidImageFilter 
..................................***Failed    0.39 sec
       Start 2203: PythonThresholdImageFilter
29/64 Test #2203: PythonThresholdImageFilter 
................................***Failed    0.39 sec
       Start 2204: PythonResampleImageFilterTest1
30/64 Test #2204: PythonResampleImageFilterTest1 
............................***Failed    0.40 sec
       Start 2205: PythonResampleImageFilterTest2
31/64 Test #2205: PythonResampleImageFilterTest2 
............................***Failed    0.40 sec
       Start 2206: PythonResampleImageFilterTest3
32/64 Test #2206: PythonResampleImageFilterTest3 
............................***Failed    0.39 sec
       Start 2207: PythonResampleImageFilterTest4
33/64 Test #2207: PythonResampleImageFilterTest4 
............................***Failed    0.40 sec
       Start 2208: PythonCurvatureAnisotropicDiffusionImageFilter
34/64 Test #2208: PythonCurvatureAnisotropicDiffusionImageFilter 
............***Failed    0.40 sec
       Start 2209: PythonCurvatureFlowImageFilter
35/64 Test #2209: PythonCurvatureFlowImageFilter 
............................***Failed    0.39 sec
       Start 2210: PythonSmoothingRecursiveGaussianImageFilter
36/64 Test #2210: PythonSmoothingRecursiveGaussianImageFilter 
...............***Failed    0.40 sec
       Start 2211: PythonLaplacianImageFilter
37/64 Test #2211: PythonLaplacianImageFilter 
................................***Failed    0.39 sec
       Start 2212: PythonFFTImageFilter
38/64 Test #2212: PythonFFTImageFilter 
......................................***Failed    0.40 sec
       Start 2213: PythonGradientMagnitudeRecursiveGaussianImageFilterTest
39/64 Test #2213: 
PythonGradientMagnitudeRecursiveGaussianImageFilterTest ...***Failed 
0.40 sec
       Start 2214: PythonGradientAnisotropicDiffusionImageFilterTest
40/64 Test #2214: PythonGradientAnisotropicDiffusionImageFilterTest 
.........***Failed    0.39 sec
       Start 2215: PythonGeodesicActiveContourLeftVentricleTest
41/64 Test #2215: PythonGeodesicActiveContourLeftVentricleTest 
..............***Failed    0.42 sec
       Start 2216: PythonFastMarchingLeftVentricleTest
42/64 Test #2216: PythonFastMarchingLeftVentricleTest 
.......................***Failed    0.39 sec
       Start 2217: PythonFastMarchingRightVentricleTest
43/64 Test #2217: PythonFastMarchingRightVentricleTest 
......................***Failed    0.65 sec
       Start 2218: PythonFastMarchingWhiteMatterTest
44/64 Test #2218: PythonFastMarchingWhiteMatterTest 
.........................***Failed    0.68 sec
       Start 2219: PythonFastMarchingGrayMatterTest
45/64 Test #2219: PythonFastMarchingGrayMatterTest 
..........................***Failed    0.69 sec
       Start 2220: PythonThresholdSegmentationLevelSetVentricleTest
46/64 Test #2220: PythonThresholdSegmentationLevelSetVentricleTest 
..........***Failed    0.54 sec
       Start 2221: PythonThresholdSegmentationLevelSetWhiteMatterTest
47/64 Test #2221: PythonThresholdSegmentationLevelSetWhiteMatterTest 
........***Failed    0.55 sec
       Start 2222: PythonThresholdSegmentationLevelSetGrayMatterTest
48/64 Test #2222: PythonThresholdSegmentationLevelSetGrayMatterTest 
.........***Failed    0.45 sec
       Start 2223: PythonCannyEdgeDetectionImageFilterTest
49/64 Test #2223: PythonCannyEdgeDetectionImageFilterTest 
...................***Failed    0.45 sec
       Start 2224: PythonWatershedSegmentation1
50/64 Test #2224: PythonWatershedSegmentation1 
..............................***Failed    0.47 sec
       Start 2225: PythonSpatialObject
51/64 Test #2225: PythonSpatialObject 
.......................................***Failed    0.44 sec
       Start 2226: PythonAntiAliasBinaryImageFilterTest
52/64 Test #2226: PythonAntiAliasBinaryImageFilterTest 
......................***Failed    0.42 sec
       Start 2227: PythonSimplePipelineSS2
53/64 Test #2227: PythonSimplePipelineSS2 
...................................***Failed    0.41 sec
       Start 2228: PythonSimplePipelineUC2
54/64 Test #2228: PythonSimplePipelineUC2 
...................................***Failed    0.40 sec
       Start 2229: PythonSimplePipelineUS2
55/64 Test #2229: PythonSimplePipelineUS2 
...................................***Failed    0.40 sec
       Start 2230: PythonSimplePipelineF2
56/64 Test #2230: PythonSimplePipelineF2 
....................................***Failed    0.39 sec
       Start 2231: PythonSimplePipelineSS3
57/64 Test #2231: PythonSimplePipelineSS3 
...................................***Failed    0.40 sec
       Start 2232: PythonSimplePipelineUC3
58/64 Test #2232: PythonSimplePipelineUC3 
...................................***Failed    0.39 sec
       Start 2233: PythonSimplePipelineUS3
59/64 Test #2233: PythonSimplePipelineUS3 
...................................***Failed    0.39 sec
       Start 2234: PythonSimplePipelineF3
60/64 Test #2234: PythonSimplePipelineF3 
....................................***Failed    0.39 sec
       Start 2235: PythonSimplePipelineSS4
61/64 Test #2235: PythonSimplePipelineSS4 
...................................***Failed    0.39 sec
       Start 2236: PythonSimplePipelineUC4
62/64 Test #2236: PythonSimplePipelineUC4 
...................................***Failed    0.39 sec
       Start 2237: PythonSimplePipelineUS4
63/64 Test #2237: PythonSimplePipelineUS4 
...................................***Failed    0.39 sec
       Start 2238: PythonSimplePipelineF4
64/64 Test #2238: PythonSimplePipelineF4 
....................................***Failed    0.39 sec

9% tests passed, 58 tests failed out of 64


More information about the Insight-users mailing list