diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-08-10 18:15:14 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-08-10 18:15:14 (GMT) |
commit | 9754e9373b731856dbf61fdb9c99501f452ca552 (patch) | |
tree | 0bb99d2caf87b9ec8e4dfd2a52bf03b5c7d06055 /bin/snapshot | |
parent | 1d0b2915c2d492ecf35b83ff65287d5d95bf5f7c (diff) | |
download | hdf5-9754e9373b731856dbf61fdb9c99501f452ca552.zip hdf5-9754e9373b731856dbf61fdb9c99501f452ca552.tar.gz hdf5-9754e9373b731856dbf61fdb9c99501f452ca552.tar.bz2 |
[svn-r584] Changes since 19980806
----------------------
./doc/html/Datatypes.html
./doc/html/H5.format.html
./src/H5.c
./src/H5Odtype.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./test/dtypes.c
Changed the values of the H5T_str_t type in order to make a
distinction between C's null terminated strings and strings
which are not null terminated.
The string character set and padding method are saved to the
hdf5 file instead of using defaults.
Added conversion function from one fixed-length string type
to another.
./test/chunk.c
Fixed to work with new filter API
Diffstat (limited to 'bin/snapshot')
-rwxr-xr-x | bin/snapshot | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/bin/snapshot b/bin/snapshot index 31a7fa3..1d9c13f 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -32,24 +32,44 @@ if [ -z "$CVSROOT" ]; then fi cvs -Q co -d ${COMPARE}/current hdf5 || exit 1 -# Compare it with the previous version. +# Compare it with the previous version. Compare only files listed in +# the MANIFEST plus the MANIFEST itself. if [ -d ${COMPARE}/previous ]; then - if (diff -r -I H5_VERS_RELEASE -I " released on " --exclude CVS \ - ${COMPARE}/previous ${COMPARE}/current); then - update=no + if (diff ${COMPARE}/{previous,current}/MANIFEST); then + for src in `cat ${COMPARE}/current/MANIFEST`; do + if (diff -I H5_VERS_RELEASE -I " released on " \ + ${COMPARE}/{previous,current}/$src); then + snapshot=no + else + snapshot=yes + break + fi + done else - update=yes + snapshot=yes fi else - update=yes + snapshot=yes +fi + +# Make sure all the serial tests work. +if [ "$snapshot" = "yes" ]; then + if (cd ${COMPARE}/current; make _test); then + : + else + snapshot=no + fi + (cd ${COMPARE}/current; make distclean) fi # Release snapshot, update version, and commit to cvs -if [ "$update" = "yes" ]; then - (cd ${COMPARE}/current; \ - ./bin/release -d $ARCHIVES $METHODS; \ - ./bin/h5vers -i; \ - cvs -Q commit -m Snapshot ) +if [ "$snapshot" = "yes" ]; then + ( + cd ${COMPARE}/current + ./bin/release -d $ARCHIVES $METHODS + ./bin/h5vers -i + cvs -Q commit -m Snapshot + ) fi # Replace the previous version with the current version. |