summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-14 18:51:05 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-14 18:51:05 (GMT)
commit71c071eabc5be11a3e1ad6f6f8cf6503445f9a02 (patch)
tree66ecabbf0f5d7718b4c320ea0ea2c8b5481940fe /test
parentb2d564422046586450cfc4053be6d0f112f78798 (diff)
downloadhdf5-71c071eabc5be11a3e1ad6f6f8cf6503445f9a02.zip
hdf5-71c071eabc5be11a3e1ad6f6f8cf6503445f9a02.tar.gz
hdf5-71c071eabc5be11a3e1ad6f6f8cf6503445f9a02.tar.bz2
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>"