diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-14 18:50:44 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-14 18:50:44 (GMT) |
commit | 526897b3f1bf4acc91b4ed88579e92a80e367bbb (patch) | |
tree | adce6c5674420e51305e58e8c9be9e068f4b9935 /test | |
parent | b6fb3dc8887428f1987a2033fea951316f62321b (diff) | |
download | hdf5-526897b3f1bf4acc91b4ed88579e92a80e367bbb.zip hdf5-526897b3f1bf4acc91b4ed88579e92a80e367bbb.tar.gz hdf5-526897b3f1bf4acc91b4ed88579e92a80e367bbb.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 4025b5e..ec64e0e 100644 --- a/test/CMakeTests.cmake +++ b/test/CMakeTests.cmake @@ -440,7 +440,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>" |