summaryrefslogtreecommitdiffstats
path: root/tools/test/h5ls
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-11 18:28:33 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:20 (GMT)
commit34518626c4c2a2eb557638b69cf82023a53fadd9 (patch)
tree10923c9b5cc97427ac17b796d73a14b8209f12c2 /tools/test/h5ls
parentc1eae1a6594ba23e5bc4e6590f84b58b84733d86 (diff)
downloadhdf5-34518626c4c2a2eb557638b69cf82023a53fadd9.zip
hdf5-34518626c4c2a2eb557638b69cf82023a53fadd9.tar.gz
hdf5-34518626c4c2a2eb557638b69cf82023a53fadd9.tar.bz2
Fix issues found with ONLY_SHARED_LIBS option
Diffstat (limited to 'tools/test/h5ls')
-rw-r--r--tools/test/h5ls/CMakeTests.cmake2
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")