From ebf89bb231cd5b41180e58facae485f819cc3cea Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Tue, 1 Mar 2022 14:19:43 -0600 Subject: Fix install config and java test name conflict (#1467) --- config/cmake_ext_mod/HDFMacros.cmake | 2 +- java/test/TestH5OcopyOld.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake index 09492e7..0f9b367 100644 --- a/config/cmake_ext_mod/HDFMacros.cmake +++ b/config/cmake_ext_mod/HDFMacros.cmake @@ -356,7 +356,7 @@ macro (HDF_DIR_PATHS package_prefix) endif () endif () if (NOT ${package_prefix}_INSTALL_CMAKE_DIR) - set (${package_prefix}_INSTALL_CMAKE_DIR share/cmake) + set (${package_prefix}_INSTALL_CMAKE_DIR cmake) endif () # Always use full RPATH, i.e. don't skip the full RPATH for the build tree diff --git a/java/test/TestH5OcopyOld.java b/java/test/TestH5OcopyOld.java index b360cd0..e547051 100644 --- a/java/test/TestH5OcopyOld.java +++ b/java/test/TestH5OcopyOld.java @@ -32,7 +32,7 @@ import org.junit.rules.TestName; public class TestH5OcopyOld { @Rule public TestName testname = new TestName(); - private static final String FILENAME = "testRefsattribute.h5"; + private static final String FILENAME = "testRefsattributeO.h5"; private static final int DIM_X = 4; private static final int DIM_Y = 6; long H5fid = HDF5Constants.H5I_INVALID_HID; @@ -140,7 +140,6 @@ public class TestH5OcopyOld { byte[] dset_data = new byte[16]; long attribute_id = HDF5Constants.H5I_INVALID_HID; - try { rbuf0 = H5.H5Rcreate(H5fid, "/G1", HDF5Constants.H5R_OBJECT, -1); rbuf1 = H5.H5Rcreate(H5fid, "DS2", HDF5Constants.H5R_OBJECT, -1); -- cgit v0.12