diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-14 18:51:05 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-14 18:51:05 (GMT) |
commit | 71c071eabc5be11a3e1ad6f6f8cf6503445f9a02 (patch) | |
tree | 66ecabbf0f5d7718b4c320ea0ea2c8b5481940fe /test | |
parent | b2d564422046586450cfc4053be6d0f112f78798 (diff) | |
download | hdf5-71c071eabc5be11a3e1ad6f6f8cf6503445f9a02.zip hdf5-71c071eabc5be11a3e1ad6f6f8cf6503445f9a02.tar.gz hdf5-71c071eabc5be11a3e1ad6f6f8cf6503445f9a02.tar.bz2 |
HDFFV-10879 fix test varname
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeTests.cmake | 2 |
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>" |