diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-11 18:28:33 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-11 18:28:33 (GMT) |
commit | 1fc1b09bf39c4cfbcb907209a27619e4d1b7bf26 (patch) | |
tree | 9a9a6b5ebddf128c5ef0f8148491ae98e9af913e /tools/test/h5ls | |
parent | b003ff5b1b35bd87444a22c4be2ea92b20a3d1e4 (diff) | |
download | hdf5-1fc1b09bf39c4cfbcb907209a27619e4d1b7bf26.zip hdf5-1fc1b09bf39c4cfbcb907209a27619e4d1b7bf26.tar.gz hdf5-1fc1b09bf39c4cfbcb907209a27619e4d1b7bf26.tar.bz2 |
Fix issues found with ONLY_SHARED_LIBS option
Diffstat (limited to 'tools/test/h5ls')
-rw-r--r-- | tools/test/h5ls/CMakeTests.cmake | 2 |
1 files changed, 1 insertions, 1 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") |