summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-03-20 04:23:50 (GMT)
committerGitHub <noreply@github.com>2023-03-20 04:23:50 (GMT)
commit6d881fe7755298d1c92c86d153b4f8097b86c483 (patch)
tree506a43eb1d14b81d68aada1d62c9e62f5909a9aa /hl
parent59343e893185ef59f9fd93fd715a33ea4e125d7e (diff)
downloadhdf5-6d881fe7755298d1c92c86d153b4f8097b86c483.zip
hdf5-6d881fe7755298d1c92c86d153b4f8097b86c483.tar.gz
hdf5-6d881fe7755298d1c92c86d153b4f8097b86c483.tar.bz2
Unify cmake and cmake_ext_mod like develop (#2596)
Diffstat (limited to 'hl')
-rw-r--r--hl/c++/examples/CMakeTests.cmake2
-rw-r--r--hl/c++/test/CMakeTests.cmake2
-rw-r--r--hl/examples/CMakeTests.cmake2
-rw-r--r--hl/fortran/examples/CMakeTests.cmake2
-rw-r--r--hl/fortran/test/CMakeTests.cmake10
-rw-r--r--hl/test/CMakeTests.cmake2
-rw-r--r--hl/tools/h5watch/CMakeTests.cmake6
7 files changed, 13 insertions, 13 deletions
diff --git a/hl/c++/examples/CMakeTests.cmake b/hl/c++/examples/CMakeTests.cmake
index 82b32cf..7564fd7 100644
--- a/hl/c++/examples/CMakeTests.cmake
+++ b/hl/c++/examples/CMakeTests.cmake
@@ -36,7 +36,7 @@ else ()
-D "TEST_OUTPUT=ptExampleFL.txt"
#-D "TEST_REFERENCE=ptExampleFL.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
endif ()
set_tests_properties (HL_CPP_ex_ptExampleFL PROPERTIES DEPENDS HL_CPP_ex_ptExampleFL-clear-objects)
diff --git a/hl/c++/test/CMakeTests.cmake b/hl/c++/test/CMakeTests.cmake
index 28ee5df..5abbd47 100644
--- a/hl/c++/test/CMakeTests.cmake
+++ b/hl/c++/test/CMakeTests.cmake
@@ -33,7 +33,7 @@ else ()
-D "TEST_OUTPUT=hl_ptableTest.txt"
#-D "TEST_REFERENCE=hl_ptableTest.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
endif ()
set_tests_properties (HL_CPP_ptableTest PROPERTIES DEPENDS HL_CPP_ptableTest-clear-objects)
diff --git a/hl/examples/CMakeTests.cmake b/hl/examples/CMakeTests.cmake
index b997096..6014f6c 100644
--- a/hl/examples/CMakeTests.cmake
+++ b/hl/examples/CMakeTests.cmake
@@ -66,7 +66,7 @@ foreach (example ${examples})
-D "TEST_OUTPUT=hl_ex_${example}.txt"
#-D "TEST_REFERENCE=hl_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
endif ()
if (last_test)
diff --git a/hl/fortran/examples/CMakeTests.cmake b/hl/fortran/examples/CMakeTests.cmake
index 2e73ad9..6389fbe 100644
--- a/hl/fortran/examples/CMakeTests.cmake
+++ b/hl/fortran/examples/CMakeTests.cmake
@@ -39,7 +39,7 @@ foreach (example ${examples})
-D "TEST_OUTPUT=hl_f90_ex_${example}.txt"
#-D "TEST_REFERENCE=hl_f90_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
endif ()
set_tests_properties (HL_FORTRAN_f90_ex_${example} PROPERTIES
diff --git a/hl/fortran/test/CMakeTests.cmake b/hl/fortran/test/CMakeTests.cmake
index bceb6ee..463ac07 100644
--- a/hl/fortran/test/CMakeTests.cmake
+++ b/hl/fortran/test/CMakeTests.cmake
@@ -17,10 +17,10 @@
##############################################################################
set (test_hl_fortran_CLEANFILES
- dsetf1.h5
- dsetf2.h5
- dsetf3.h5
- dsetf4.h5
+ dsetf1.h5
+ dsetf2.h5
+ dsetf3.h5
+ dsetf4.h5
dsetf5.h5
f1img.h5
f1tab.h5
@@ -49,7 +49,7 @@ macro (ADD_H5_FORTRAN_TEST file)
-D "TEST_OUTPUT=hl_f90_${file}.txt"
#-D "TEST_REFERENCE=hl_f90_${file}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
endif ()
set_tests_properties (HL_FORTRAN_f90_${file} PROPERTIES
diff --git a/hl/test/CMakeTests.cmake b/hl/test/CMakeTests.cmake
index 44208e3..ba4bb86 100644
--- a/hl/test/CMakeTests.cmake
+++ b/hl/test/CMakeTests.cmake
@@ -97,7 +97,7 @@ macro (HL_ADD_TEST hl_name)
-D "TEST_OUTPUT=hl_${hl_name}.txt"
#-D "TEST_REFERENCE=hl_${hl_name}.out"
-D "TEST_FOLDER=${HDF5_HL_TEST_BINARY_DIR}"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
endif ()
set_tests_properties (HL_${hl_name} PROPERTIES
diff --git a/hl/tools/h5watch/CMakeTests.cmake b/hl/tools/h5watch/CMakeTests.cmake
index b2f689b..32b2b95 100644
--- a/hl/tools/h5watch/CMakeTests.cmake
+++ b/hl/tools/h5watch/CMakeTests.cmake
@@ -80,7 +80,7 @@ add_custom_target(H5WATCH_files ALL COMMENT "Copying files needed by H5WATCH tes
-D "TEST_OUTPUT=${resultfile}.out"
-D "TEST_EXPECT=${resultcode}"
-D "TEST_REFERENCE=${resultfile}.ddl"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
set_tests_properties (H5WATCH_ARGS-h5watch-${resultfile} PROPERTIES
DEPENDS ${last_test}
@@ -103,7 +103,7 @@ add_custom_target(H5WATCH_files ALL COMMENT "Copying files needed by H5WATCH tes
-D "TEST_EXPECT=${resultcode}"
-D "TEST_REFERENCE=${resultfile}.mty"
-D "TEST_ERRREF=${resultfile}.err"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
set_tests_properties (H5WATCH_ARGS-h5watch-${resultfile} PROPERTIES
DEPENDS ${last_test}
@@ -131,7 +131,7 @@ add_custom_target(H5WATCH_files ALL COMMENT "Copying files needed by H5WATCH tes
-D "TEST_OUTPUT=${resultfile}.out"
-D "TEST_EXPECT=${resultcode}"
-D "TEST_REFERENCE=${resultfile}.txt"
- -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
+ -P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
set_tests_properties (H5WATCH-${resultfile} PROPERTIES
DEPENDS H5WATCH-${resultfile}-clear-objects