summaryrefslogtreecommitdiffstats
path: root/config/cmake/runTest.cmake
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-10-18 04:54:40 (GMT)
committerGitHub <noreply@github.com>2023-10-18 04:54:40 (GMT)
commit95572568191492f0d79924a55ea10453095a20c1 (patch)
tree5d4848b3a883d7703fccb2b92f1caae8d0c0d37c /config/cmake/runTest.cmake
parentfc788559f7747eeefd152fc8c7844f45d3845300 (diff)
downloadhdf5-95572568191492f0d79924a55ea10453095a20c1.zip
hdf5-95572568191492f0d79924a55ea10453095a20c1.tar.gz
hdf5-95572568191492f0d79924a55ea10453095a20c1.tar.bz2
Sync changes that are only in 1.14 branch (#3704)
Diffstat (limited to 'config/cmake/runTest.cmake')
-rw-r--r--config/cmake/runTest.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/config/cmake/runTest.cmake b/config/cmake/runTest.cmake
index 1304d36..d21765a 100644
--- a/config/cmake/runTest.cmake
+++ b/config/cmake/runTest.cmake
@@ -218,14 +218,6 @@ if (NOT TEST_SKIP_COMPARE)
file (READ ${TEST_FOLDER}/${TEST_REFERENCE} TEST_STREAM)
list (LENGTH TEST_STREAM test_len)
if (test_len GREATER 0)
- # if (WIN32) # no longer needed for CMake > 3.15
- # configure_file(${TEST_FOLDER}/${TEST_REFERENCE} ${TEST_FOLDER}/${TEST_REFERENCE}.tmp NEWLINE_STYLE CRLF)
- # if (EXISTS "${TEST_FOLDER}/${TEST_REFERENCE}.tmp")
- # file(RENAME ${TEST_FOLDER}/${TEST_REFERENCE}.tmp ${TEST_FOLDER}/${TEST_REFERENCE})
- # endif ()
- # #file (READ ${TEST_FOLDER}/${TEST_REFERENCE} TEST_STREAM)
- # #file (WRITE ${TEST_FOLDER}/${TEST_REFERENCE} "${TEST_STREAM}")
- # endif ()
if (NOT TEST_SORT_COMPARE)
# now compare the output with the reference
@@ -293,14 +285,6 @@ if (NOT TEST_SKIP_COMPARE)
file (READ ${TEST_FOLDER}/${TEST_ERRREF} TEST_STREAM)
list (LENGTH TEST_STREAM test_len)
if (test_len GREATER 0)
- # if (WIN32) # no longer needed for CMake > 3.15
- # configure_file(${TEST_FOLDER}/${TEST_ERRREF} ${TEST_FOLDER}/${TEST_ERRREF}.tmp NEWLINE_STYLE CRLF)
- # if (EXISTS "${TEST_FOLDER}/${TEST_ERRREF}.tmp")
- # file(RENAME ${TEST_FOLDER}/${TEST_ERRREF}.tmp ${TEST_FOLDER}/${TEST_ERRREF})
- # endif ()
- # #file (READ ${TEST_FOLDER}/${TEST_ERRREF} TEST_STREAM)
- # #file (WRITE ${TEST_FOLDER}/${TEST_ERRREF} "${TEST_STREAM}")
- # endif ()
# now compare the error output with the error reference
execute_process (