removed badly written tests from CTest in codec/CMakeLists.txt
[openjpeg.git] / codec / CMakeLists.txt
index 346f81cef1989d22a5931a681674f96e2ea99dc7..9b5b70c225a2b47d057425e4f6957c2f006cb0a1 100644 (file)
@@ -93,6 +93,8 @@ foreach(filename ${OPENJPEG_DATA_IMAGES_GLOB})
   ADD_TEST(dump-${filename_temp} ${EXECUTABLE_OUTPUT_PATH}/j2k_dump -i ${filename})
   foreach(codec_type ppm pgx bmp tif raw tga png)
     ADD_TEST(j2i-${filename_temp}-${codec_type} ${EXECUTABLE_OUTPUT_PATH}/j2k_to_image -i ${filename} -o ${filename_temp}.${codec_type})
+  endforeach(codec_type)
+  foreach(codec_type ppm bmp tif tga png)
     ADD_TEST(i2j-${filename_temp}-${codec_type} ${EXECUTABLE_OUTPUT_PATH}/image_to_j2k -i ${filename_temp}.${codec_type} -o ${filename_temp}.${codec_type}${filename_ext})
     #if(UNIX)
     #  ADD_TEST(cmp-${filename_temp}-${codec_type} cmp ${filename} ${filename_temp}.${codec_type}${filename_ext})