HDFFV-10845 separate test used by copy windows files

This commit is contained in:
Allen Byrne
2019-07-15 16:17:41 -05:00
parent 0eb050d481
commit 95d3b41af0

View File

@@ -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")