summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathis Rosenhauer <rosenhauer@dkrz.de>2016-10-10 12:37:34 (GMT)
committerMathis Rosenhauer <rosenhauer@dkrz.de>2016-10-10 12:37:34 (GMT)
commite7565adbfd92940c1c17b7e2f6eb1f09ab3cf260 (patch)
tree56e06abcc2302ec8b164bc927ec612815eaf17f8
parentf13fc4d78580b0bf4151f0abd0a2c286765dfbfa (diff)
downloadlibaec-e7565adbfd92940c1c17b7e2f6eb1f09ab3cf260.zip
libaec-e7565adbfd92940c1c17b7e2f6eb1f09ab3cf260.tar.gz
libaec-e7565adbfd92940c1c17b7e2f6eb1f09ab3cf260.tar.bz2
Include more tests in Windows build
-rw-r--r--tests/CMakeLists.txt21
1 files changed, 9 insertions, 12 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index c509451..e4bcd78 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -2,25 +2,22 @@ ADD_LIBRARY(check_aec STATIC check_aec.c)
ADD_EXECUTABLE(check_code_options check_code_options.c)
TARGET_LINK_LIBRARIES(check_code_options check_aec aec)
-
+ADD_TEST(NAME check_code_options COMMAND check_code_options)
ADD_EXECUTABLE(check_buffer_sizes check_buffer_sizes.c)
TARGET_LINK_LIBRARIES(check_buffer_sizes check_aec aec)
-
-ADD_TEST(NAME check_code_options COMMAND check_code_options)
ADD_TEST(NAME check_buffer_sizes COMMAND check_buffer_sizes)
+ADD_EXECUTABLE(check_long_fs check_long_fs.c)
+TARGET_LINK_LIBRARIES(check_long_fs check_aec aec)
+ADD_TEST(NAME check_long_fs COMMAND check_long_fs)
+ADD_EXECUTABLE(check_szcomp check_szcomp.c)
+TARGET_LINK_LIBRARIES(check_szcomp check_aec sz)
+ADD_TEST(NAME check_szcomp
+ COMMAND check_szcomp ${CMAKE_CURRENT_SOURCE_DIR}/../data/121B2TestData/ExtendedParameters/sar32bit.dat)
+
IF(UNIX)
- ADD_EXECUTABLE(check_long_fs check_long_fs.c)
- TARGET_LINK_LIBRARIES(check_long_fs check_aec aec)
- ADD_TEST(NAME check_long_fs COMMAND check_long_fs)
ADD_TEST(
NAME sampledata.sh
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sampledata.sh ${CMAKE_CURRENT_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
- ADD_EXECUTABLE(check_szcomp check_szcomp.c)
- TARGET_LINK_LIBRARIES(check_szcomp check_aec sz)
- ADD_TEST(
- NAME check_szcomp
- COMMAND check_szcomp ${CMAKE_CURRENT_SOURCE_DIR}/../data/121B2TestData/ExtendedParameters/sar32bit.dat
- )
ENDIF(UNIX)