-### Add definitions for compile
-if(NOT WIN32)
- target_link_libraries(log_large_test gras m pthread )
- target_link_libraries(parallel_log_crashtest gras m pthread )
- target_link_libraries(mmalloc_test gras m pthread )
-else(NOT WIN32)
- target_link_libraries(log_large_test gras)
- target_link_libraries(parallel_log_crashtest gras)
- target_link_libraries(mmalloc_test gras)
-endif(NOT WIN32)
+set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/log_usage/log_usage_ndebug.tesh
+ ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc/mmalloc_64.tesh
+ ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc/mmalloc_32.tesh PARENT_SCOPE)
+set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc/mmalloc_test.cpp PARENT_SCOPE)