[trunk] Add new tests (j2k_random_tile_access)

This commit is contained in:
Mathieu Malaterre 2012-11-08 16:30:46 +00:00
parent 7bf09734d7
commit fb0a11636f
1 changed files with 5 additions and 0 deletions

View File

@ -67,6 +67,11 @@ set_property(TEST ttd2 APPEND PROPERTY DEPENDS tte2)
#add_test(ttd7 ${EXECUTABLE_OUTPUT_PATH}/test_tile_decoder 0 0 512 512 tte7.jp2)
#set_property(TEST ttd7 APPEND PROPERTY DEPENDS tte7)
add_test(rta1 ${EXECUTABLE_OUTPUT_PATH}/j2k_random_tile_access tte1.j2k)
set_property(TEST rta1 APPEND PROPERTY DEPENDS tte1)
add_test(rta2 ${EXECUTABLE_OUTPUT_PATH}/j2k_random_tile_access tte2.jp2)
set_property(TEST rta1 APPEND PROPERTY DEPENDS tte2)
# No image send to the dashboard if lib PNG is not available.
if(NOT HAVE_LIBPNG)
message(WARNING "Lib PNG seems to be not available: if you want run the non-regression tests with images reported to the dashboard, you need it (try BUILD_THIRDPARTY)")