# bash script to generate the add test lines echo "# Test lines generated by script" for FTYPE in 0 1 2 3 4 5; do for METRIC in 0 1 2; do for DTYPE in 0 1 2; do echo "ADD_TEST(ModImageToImageMetricTest_${FTYPE}${METRIC}${DTYPE} itkModImageToImageMetricTest $FTYPE $METRIC $DTYPE "'${CMAKE_SOURCE_DIR}/BrainProtonDensitySlice.png'" ModImageToImageMetricTest_${FTYPE}${METRIC}${DTYPE}.log)" echo done echo "# end Metric $METRIC" done echo "# end ftype $FTYPE" done