summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-06-09 18:48:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-06-09 18:48:03 (GMT)
commit84311eb7018660f7546291c060d50dc2981edabe (patch)
treedc3c912364ee1bb2efe78c08d0e1557cacb3ba44 /test/CMakeLists.txt
parentbf3b382df7fdf4411118e4713cfbab48d09e81b3 (diff)
downloadhdf5-84311eb7018660f7546291c060d50dc2981edabe.zip
hdf5-84311eb7018660f7546291c060d50dc2981edabe.tar.gz
hdf5-84311eb7018660f7546291c060d50dc2981edabe.tar.bz2
[svn-r27171] Disable big test on cygwin
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 55b3c44..20cf3ab 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -85,7 +85,7 @@ if (BUILD_SHARED_LIBS)
TARGET ${HDF5_TEST_PLUGIN_LIB_TARGET}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
- ARGS -E copy_if_different
+ ARGS -E copy_if_different
"$<TARGET_FILE:${HDF5_TEST_PLUGIN_LIB_TARGET}>"
"${CMAKE_BINARY_DIR}/testdir1/$<TARGET_FILE_NAME:${HDF5_TEST_PLUGIN_LIB_TARGET}>"
)
@@ -116,7 +116,7 @@ if (BUILD_SHARED_LIBS)
TARGET ${HDF5_TEST_PLUGIN_LIB_TARGET}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
- ARGS -E copy_if_different
+ ARGS -E copy_if_different
"$<TARGET_FILE:${HDF5_TEST_PLUGIN_LIB_TARGET}>"
"${CMAKE_BINARY_DIR}/testdir2/$<TARGET_FILE_NAME:${HDF5_TEST_PLUGIN_LIB_TARGET}>"
)
@@ -190,7 +190,7 @@ set (H5_TESTS
objcopy
links
unlink
- big
+# big
mtime
fillval
mount
@@ -223,6 +223,9 @@ set (H5_TESTS
enc_dec_plist_with_endianess
unregister
)
+if (NOT CYGWIN)
+ set (H5_TESTS ${H5_TESTS} big)
+endif (NOT CYGWIN)
foreach (test ${H5_TESTS})
ADD_H5_EXE(${test})
@@ -293,7 +296,7 @@ set_target_properties (links_env PROPERTIES FOLDER test)
#-- Adding test for libinfo
set (GREP_RUNNER ${PROJECT_BINARY_DIR}/GrepRunner.cmake)
-file (WRITE ${GREP_RUNNER}
+file (WRITE ${GREP_RUNNER}
"file (STRINGS \${TEST_PROGRAM} TEST_RESULT REGEX \"SUMMARY OF THE HDF5 CONFIGURATION\")
if (\${TEST_RESULT} STREQUAL \"0\")
message (FATAL_ERROR \"Failed: The output: \${TEST_RESULT} of \${TEST_PROGRAM} did not contain SUMMARY OF THE HDF5 CONFIGURATION\")