diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-11 18:31:36 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-11 18:31:36 (GMT) |
commit | a1a1cfcd22df965cf8aef2c2bce65e712494e5ac (patch) | |
tree | 0cb18304dc20f5f9817da1d73d3e8dafa191a9c8 /tools | |
parent | 8f1197454277451de2d092ddaf976aca8327a44c (diff) | |
download | hdf5-a1a1cfcd22df965cf8aef2c2bce65e712494e5ac.zip hdf5-a1a1cfcd22df965cf8aef2c2bce65e712494e5ac.tar.gz hdf5-a1a1cfcd22df965cf8aef2c2bce65e712494e5ac.tar.bz2 |
Fix issues when using ONLY_SHARED_LIBS
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test/h5ls/CMakeTests.cmake | 2 | ||||
-rw-r--r-- | tools/test/misc/CMakeTestsMkgrp.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5ls/CMakeTests.cmake b/tools/test/h5ls/CMakeTests.cmake index 2f3f3ab..7ff17ff 100644 --- a/tools/test/h5ls/CMakeTests.cmake +++ b/tools/test/h5ls/CMakeTests.cmake @@ -168,7 +168,7 @@ macro (ADD_H5_ERR_TEST resultfile resultcode) # If using memchecker add tests without using scripts if (HDF5_ENABLE_USING_MEMCHECKER) - add_test (NAME H5LS-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5ls> ${ARGN}) + add_test (NAME H5LS-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5ls${tgt_ext}> ${ARGN}) set_tests_properties (H5LS-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles") if (${resultcode} EQUAL 1) set_tests_properties (H5LS-${resultfile} PROPERTIES WILL_FAIL "true") diff --git a/tools/test/misc/CMakeTestsMkgrp.cmake b/tools/test/misc/CMakeTestsMkgrp.cmake index 11fa3f2..c947e0e 100644 --- a/tools/test/misc/CMakeTestsMkgrp.cmake +++ b/tools/test/misc/CMakeTestsMkgrp.cmake @@ -96,7 +96,7 @@ macro (ADD_H5_CMP resultfile resultcode) if (HDF5_ENABLE_USING_MEMCHECKER) - add_test (NAME H5MKGRP_CMP-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5mkgrp> ${ARGN}) + add_test (NAME H5MKGRP_CMP-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5mkgrp${tgt_ext}> ${ARGN}) else () add_test ( NAME H5MKGRP_CMP-${resultfile}-clear-objects |