Add more dap4 tests for CMake
@@ -37,15 +37,20 @@ IF(ENABLE_TESTS)
# keep it from being too bad.
IF(BUILD_UTILITIES)
+ add_sh_test(dap4_test test_fillmismatch)
+
+ # Following tests are Unit tests, so not tested under visual studio
+ IF(NOT MSVC)
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/libdap4)
+ add_bin_env_test(dap4 test_parse)
+ add_bin_env_test(dap4 test_meta)
+ add_bin_env_test(dap4 test_data)
add_sh_test(dap4_test test_raw)
+ add_sh_test(dap4_test test_meta)
+ add_sh_test(dap4_test test_data)
+ ENDIF()
ENDIF(BUILD_UTILITIES)
- IF(ENABLE_DAP_REMOTE_TESTS)
-
- IF(BUILD_UTILITIES)
- #add_sh_test(dap4_test test_remote)
- ENDIF(BUILD_UTILITIES)
- ENDIF(ENABLE_DAP_REMOTE_TESTS)
ENDIF(ENABLE_TESTS)
FILE(COPY ./baselineraw DESTINATION ${CMAKE_CURRENT_SOURCE_DIR})
