Tests: ctests: CMakeList.txt: no continue()
file (GLOB TESTS test_*.c)
foreach (file ${TESTS})
get_filename_component (name ${file} NAME_WE)
- if (NOT ENABLE_OPTIMIZATIONS AND ${name} MATCHES "opmphm")
- continue()
- endif(NOT ENABLE_OPTIMIZATIONS AND ${name} MATCHES "opmphm")
+ if (ENABLE_OPTIMIZATIONS OR NOT ${name} MATCHES "opmphm")
do_test (${name})
target_link_elektra(${name} elektra-kdb)
+ endif(ENABLE_OPTIMIZATIONS OR NOT ${name} MATCHES "opmphm")
endforeach (file ${TESTS})
target_link_elektra(test_array elektra-ease)
