summaryrefslogtreecommitdiff
path: root/codec
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-01-03 22:44:59 +0000
committerAntonin Descampe <antonin@gmail.com>2011-01-03 22:44:59 +0000
commit50b3b5c9912dee7c8038d34da0e966d72906d6f7 (patch)
tree38f556cb46a69e27ea4b4e3ab1143eab49c0a02f /codec
parent73a6ed7c21a355e198abcc7fce493b98457d7d8f (diff)
removed badly written tests from CTest in codec/CMakeLists.txt
Diffstat (limited to 'codec')
-rw-r--r--codec/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt
index 346f81ce..9b5b70c2 100644
--- a/codec/CMakeLists.txt
+++ b/codec/CMakeLists.txt
@@ -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})