summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-14 18:50:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-14 18:50:25 (GMT)
commit2102be3259c14a1e4d94e8526894a16fd389f59d (patch)
tree05b37dd47e6dc9cd2dc58dd75a1b3db2e3cc0901 /test/CMakeTests.cmake
parent2b72832d97496290f74ccaffcda41c3e596f8f49 (diff)
downloadhdf5-2102be3259c14a1e4d94e8526894a16fd389f59d.zip
hdf5-2102be3259c14a1e4d94e8526894a16fd389f59d.tar.gz
hdf5-2102be3259c14a1e4d94e8526894a16fd389f59d.tar.bz2
HDFFV-10879 fix test varname
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r--test/CMakeTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index f763897..587af80 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -796,7 +796,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>"