added testempty0 test
This commit is contained in:
parent
2e508f1c89
commit
2d47938b25
|
@ -1,9 +1,17 @@
|
||||||
# UNIT TESTS
|
# UNIT TESTS
|
||||||
|
|
||||||
add_executable(testempty1 testempty1.c)
|
include_directories(
|
||||||
add_executable(testempty2 testempty2.c)
|
${OPENJPEG_BINARY_DIR}/libopenjpeg # opj_config.h
|
||||||
target_link_libraries(testempty1 openjpeg)
|
${OPENJPEG_SOURCE_DIR}/libopenjpeg
|
||||||
target_link_libraries(testempty2 openjpeg)
|
)
|
||||||
|
|
||||||
add_test(NAME testempty1 COMMAND testempty1)
|
set(unit_test
|
||||||
add_test(NAME testempty2 COMMAND testempty2)
|
testempty0
|
||||||
|
testempty1
|
||||||
|
testempty2
|
||||||
|
)
|
||||||
|
foreach(ut ${unit_test})
|
||||||
|
add_executable(${ut} ${ut}.c)
|
||||||
|
target_link_libraries(${ut} openjpeg)
|
||||||
|
add_test(NAME ${ut} COMMAND ${ut})
|
||||||
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue