diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-02-27 18:57:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-02-27 18:57:07 (GMT) |
commit | b36bad53d9d5930ef1339d0db1bd7152c0e9b75d (patch) | |
tree | 29eb140ab1aab59710510c8187b5139a9c83dc0e /java/test | |
parent | a4f0666ecdd0f48081e43eef2e792d791044e549 (diff) | |
download | hdf5-b36bad53d9d5930ef1339d0db1bd7152c0e9b75d.zip hdf5-b36bad53d9d5930ef1339d0db1bd7152c0e9b75d.tar.gz hdf5-b36bad53d9d5930ef1339d0db1bd7152c0e9b75d.tar.bz2 |
Inc CMake min, Add new tests, rework test CMake files
Diffstat (limited to 'java/test')
-rw-r--r-- | java/test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | java/test/TestH5Pfapl.java | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/java/test/CMakeLists.txt b/java/test/CMakeLists.txt index 49cda32..329c602 100644 --- a/java/test/CMakeLists.txt +++ b/java/test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.2.2) +cmake_minimum_required (VERSION 3.3.2) PROJECT (HDF5_JAVA_TEST Java) set (CMAKE_VERBOSE_MAKEFILE 1) diff --git a/java/test/TestH5Pfapl.java b/java/test/TestH5Pfapl.java index 48a5986..ac54405 100644 --- a/java/test/TestH5Pfapl.java +++ b/java/test/TestH5Pfapl.java @@ -1385,6 +1385,13 @@ public class TestH5Pfapl { ret_val_id = H5.H5Pget_evict_on_close(fapl_id); assertTrue("H5P_evict_on_close", ret_val_id); } + catch (HDF5PropertyListInterfaceException err) { + // parallel is not supported + if (err.getMinorErrorNumber() != HDF5Constants.H5E_CANTSET) { + err.printStackTrace(); + fail("H5P_evict_on_close: " + err); + } + } catch (Throwable err) { err.printStackTrace(); fail("H5P_evict_on_close: " + err); |