summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-14 20:29:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-14 20:29:52 (GMT)
commit3b003bf3515b5eccf2995811f88a82aaf7639e64 (patch)
tree66ecabbf0f5d7718b4c320ea0ea2c8b5481940fe /test
parentb2d564422046586450cfc4053be6d0f112f78798 (diff)
parent71c071eabc5be11a3e1ad6f6f8cf6503445f9a02 (diff)
downloadhdf5-3b003bf3515b5eccf2995811f88a82aaf7639e64.zip
hdf5-3b003bf3515b5eccf2995811f88a82aaf7639e64.tar.gz
hdf5-3b003bf3515b5eccf2995811f88a82aaf7639e64.tar.bz2
Merge pull request #1867 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '71c071eabc5be11a3e1ad6f6f8cf6503445f9a02': HDFFV-10879 fix test varname
Diffstat (limited to 'test')
-rw-r--r--test/CMakeTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index be53c83..ef4bcd3 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -795,7 +795,7 @@ else ()
endif ()
#-- Adding test for error_test
-if (HDF5_USE_16_API_DEFAULT OR MINGW)
+if (DEFAULT_API_VERSION MATCHES "v16" OR MINGW)
add_test (NAME H5TEST-error_test COMMAND "${CMAKE_COMMAND}"
-D "TEST_EMULATOR=${CMAKE_CROSSCOMPILING_EMULATOR}"
-D "TEST_PROGRAM=$<TARGET_FILE:error_test>"