summaryrefslogtreecommitdiffstats
path: root/tools/test/h5diff
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-15 21:17:41 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-17 16:58:04 (GMT)
commit95d3b41af07dd1e7532d0a6b453315ee2e3e5968 (patch)
tree10d64acfbbbedd5f45b17650a28330ee3a3ef33f /tools/test/h5diff
parent0eb050d481d611e8dc634f9a80582402a734aed4 (diff)
downloadhdf5-95d3b41af07dd1e7532d0a6b453315ee2e3e5968.zip
hdf5-95d3b41af07dd1e7532d0a6b453315ee2e3e5968.tar.gz
hdf5-95d3b41af07dd1e7532d0a6b453315ee2e3e5968.tar.bz2
HDFFV-10845 separate test used by copy windows files
Diffstat (limited to 'tools/test/h5diff')
-rw-r--r--tools/test/h5diff/CMakeTests.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/test/h5diff/CMakeTests.cmake b/tools/test/h5diff/CMakeTests.cmake
index 3feac0a..4e5b2ef 100644
--- a/tools/test/h5diff/CMakeTests.cmake
+++ b/tools/test/h5diff/CMakeTests.cmake
@@ -324,7 +324,14 @@
#
# Overwrite system dependent files (Windows) and not VS2015
#
- if (MINGW OR WIN32 AND MSVC_VERSION LESS 1900)
+ set (COPY_WINDOWS_FILES false)
+ if (MINGW)
+ set (COPY_WINDOWS_FILES true)
+ endif ()
+ if (WIN32 AND MSVC_VERSION LESS 1900)
+ set (COPY_WINDOWS_FILES true)
+ endif ()
+ if (COPY_WINDOWS_FILES)
foreach (h5_tstfiles ${LIST_WIN_TEST_FILES})
get_filename_component(fname "${h5_tstfiles}" NAME)
HDFTEST_COPY_FILE("${HDF5_TOOLS_TEST_H5DIFF_SOURCE_DIR}/testfiles/${h5_tstfiles}w.txt" "${PROJECT_BINARY_DIR}/testfiles/${fname}.txt" "h5diff_files")