diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-10 03:03:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-10 03:03:30 (GMT) |
commit | 5a2c6b0ae10a93acc8e1fc2c058da5f6f5ee11da (patch) | |
tree | 9525258a8a09b6a1dab203796553f89e785d1d04 /test | |
parent | 68ec8c72bc2f58b5a402e82337315b26b85ef7d3 (diff) | |
download | hdf5-5a2c6b0ae10a93acc8e1fc2c058da5f6f5ee11da.zip hdf5-5a2c6b0ae10a93acc8e1fc2c058da5f6f5ee11da.tar.gz hdf5-5a2c6b0ae10a93acc8e1fc2c058da5f6f5ee11da.tar.bz2 |
[svn-r12221] Purpose:
"Hide" file format changes (for now)
Description:
Add ifdef's (controlled by the --enable-group-revision configure flag)
to disable group revision changes to the file format, in order to allow alpha
release to go ahead without releasing an unsupported version into the wild.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4 32-bit (heping)
Linux 2.4 64-bit (mir)
Solaris 2.9 (shanti)
Diffstat (limited to 'test')
-rw-r--r-- | test/be_data.h5 | bin | 2288 -> 2288 bytes | |||
-rw-r--r-- | test/le_data.h5 | bin | 2288 -> 2288 bytes | |||
-rw-r--r-- | test/stab.c | 4 | ||||
-rw-r--r-- | test/tattr.c | 4 | ||||
-rw-r--r-- | test/tfile.c | 2 | ||||
-rw-r--r-- | test/tmisc.c | 4 | ||||
-rw-r--r-- | test/unlink.c | 4 | ||||
-rw-r--r-- | test/vms_data.h5 | bin | 2288 -> 2288 bytes |
8 files changed, 18 insertions, 0 deletions
diff --git a/test/be_data.h5 b/test/be_data.h5 Binary files differindex d905787..f906545 100644 --- a/test/be_data.h5 +++ b/test/be_data.h5 diff --git a/test/le_data.h5 b/test/le_data.h5 Binary files differindex 500bb95..c944c9f 100644 --- a/test/le_data.h5 +++ b/test/le_data.h5 diff --git a/test/stab.c b/test/stab.c index 47f4966..4cf73d9 100644 --- a/test/stab.c +++ b/test/stab.c @@ -257,6 +257,7 @@ test_large(hid_t file) return 1; } +#ifdef H5_GROUP_REVISION /*------------------------------------------------------------------------- * Function: lifecycle @@ -967,6 +968,7 @@ error: } H5E_END_TRY; return 1; } /* end gcpl_on_root() */ +#endif /* H5_GROUP_REVISION */ /*------------------------------------------------------------------------- @@ -1014,11 +1016,13 @@ main(void) nerrors += test_misc(file); nerrors += test_long(file); nerrors += test_large(file); +#ifdef H5_GROUP_REVISION nerrors += lifecycle(fapl); nerrors += long_compact(fapl); nerrors += read_old(fapl); nerrors += no_compact(fapl); nerrors += gcpl_on_root(fapl); +#endif /* H5_GROUP_REVISION */ if (nerrors) goto error; /* Cleanup */ diff --git a/test/tattr.c b/test/tattr.c index 6f41225..d7b0e58 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -459,6 +459,7 @@ test_attr_flush(void) CHECK(ret, FAIL, "H5Fclose"); } /* test_attr_flush() */ +#ifdef H5_GROUP_REVISION /**************************************************************** ** ** test_attr_plist(): Test Attribute Creation Property Lists @@ -570,6 +571,7 @@ test_attr_plist(void) ret=H5Fclose(fid1); CHECK(ret, FAIL, "H5Fclose"); } /* test_attr_plist() */ +#endif /* H5_GROUP_REVISION */ /**************************************************************** ** @@ -1684,7 +1686,9 @@ test_attr(void) test_attr_flush(); /* Test H5A I/O in the presence of H5Fflush calls */ /* This next test uses the same file information */ +#ifdef H5_GROUP_REVISION test_attr_plist(); /* Test attribute property lists */ +#endif /* H5_GROUP_REVISION */ /* These next two tests use the same file information */ test_attr_compound_write(); /* Test complex datatype H5A writing code */ diff --git a/test/tfile.c b/test/tfile.c index 69136b7..fd0f02c 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -1217,6 +1217,7 @@ test_file_freespace(void) ret=H5Pclose(dcpl); CHECK(ret, FAIL, "H5Pclose"); +#ifdef H5_GROUP_REVISION /* Check that there is the right amount of free space in the file */ free_space = H5Fget_freespace(file); CHECK(free_space, FAIL, "H5Fget_freespace"); @@ -1241,6 +1242,7 @@ test_file_freespace(void) #else /* H5_HAVE_LARGE_HSIZET */ VERIFY(free_space, 4592, "H5Fget_freespace"); #endif /* H5_HAVE_LARGE_HSIZET */ +#endif /* H5_GROUP_REVISION */ /* Close file */ ret = H5Fclose(file); diff --git a/test/tmisc.c b/test/tmisc.c index 024e762..90e20d2 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -3749,6 +3749,7 @@ test_misc22(void) } /* end test_misc22() */ #endif /* H5_HAVE_FILTER_SZIP */ +#ifdef H5_GROUP_REVISION /**************************************************************** ** ** test_misc23(): Test intermediate group creation. @@ -4012,6 +4013,7 @@ test_misc23(void) CHECK(status, FAIL, "H5Fclose"); } /* end test_misc23() */ +#endif /* H5_GROUP_REVISION */ /**************************************************************** ** @@ -4255,7 +4257,9 @@ test_misc(void) test_misc21(); /* Test that "late" allocation time is treated the same as "incremental", for chunked datasets w/a filters */ test_misc22(); /* check szip bits per pixel */ #endif /* H5_HAVE_FILTER_SZIP */ +#ifdef H5_GROUP_REVISION test_misc23(); /* Test intermediate group creation */ +#endif /* H5_GROUP_REVISION */ test_misc24(); /* Test inappropriate API opens of objects */ } /* test_misc() */ diff --git a/test/unlink.c b/test/unlink.c index 607f89f..5555dab 100644 --- a/test/unlink.c +++ b/test/unlink.c @@ -934,11 +934,13 @@ test_filespace(void) /* Close file */ if(H5Fclose(file)<0) TEST_ERROR; +#ifdef H5_GROUP_REVISION /* Get the size of the file */ if((file_size=h5_get_file_size(filename))==0) TEST_ERROR; /* Verify the file is correct size */ if(file_size!=empty_size) TEST_ERROR; +#endif /* H5_GROUP_REVISION */ PASSED(); @@ -1044,11 +1046,13 @@ test_filespace(void) /* Close file */ if(H5Fclose(file)<0) TEST_ERROR; +#ifdef H5_GROUP_REVISION /* Get the size of the file */ if((file_size=h5_get_file_size(filename))==0) TEST_ERROR; /* Verify the file is correct size */ if(file_size!=empty_size) TEST_ERROR; +#endif /* H5_GROUP_REVISION */ PASSED(); diff --git a/test/vms_data.h5 b/test/vms_data.h5 Binary files differindex 4a6461f..9c243ff 100644 --- a/test/vms_data.h5 +++ b/test/vms_data.h5 |