diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-08-23 19:22:18 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-08-23 19:22:18 (GMT) |
commit | 822d8901141cd8b07d50ed677f93b0f633c6d24d (patch) | |
tree | 09981980af8649cca644e073bd7fa3d141f4ed71 /tools/libtest/h5tools_test_utils.c | |
parent | 2ab6012bc455571645d125eac60d59208eca4dd9 (diff) | |
download | hdf5-822d8901141cd8b07d50ed677f93b0f633c6d24d.zip hdf5-822d8901141cd8b07d50ed677f93b0f633c6d24d.tar.gz hdf5-822d8901141cd8b07d50ed677f93b0f633c6d24d.tar.bz2 |
Add ifdef blocks to S3/HDFS test
Diffstat (limited to 'tools/libtest/h5tools_test_utils.c')
-rw-r--r-- | tools/libtest/h5tools_test_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c index 12360a7..244fd43 100644 --- a/tools/libtest/h5tools_test_utils.c +++ b/tools/libtest/h5tools_test_utils.c @@ -1003,6 +1003,7 @@ test_set_configured_fapl(void) hid_t fapl_id = H5I_INVALID_HID; other_fa_t wrong_fa = {0x432, 0xf82, 0x9093}; +#ifdef H5_HAVE_ROS3_VFD H5FD_ros3_fapl_t ros3_anon_fa = {1, FALSE, "", "", ""}; H5FD_ros3_fapl_t ros3_auth_fa = { 1, /* fapl version */ @@ -1011,6 +1012,8 @@ test_set_configured_fapl(void) "12345677890abcdef", /* simulate access key ID */ "oiwnerwe9u0234nJw0-aoj+dsf", /* simulate secret key */ }; +#endif /* H5_HAVE_ROS3_VFD */ +#ifdef H5_HAVE_LIBHDFS H5FD_hdfs_fapl_t hdfs_fa = { 1, /* fapl version */ "", /* namenode name */ @@ -1019,6 +1022,7 @@ test_set_configured_fapl(void) "", /* user name */ 2048, /* stream buffer size */ }; +#endif /* H5_HAVE_LIBHDFS */ unsigned n_cases = 7; /* number of common testcases */ testcase cases[] = { { "(common) should fail: no fapl id", |