diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2007-01-24 21:30:35 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2007-01-24 21:30:35 (GMT) |
commit | 9b5b3f2ffe84b5df06596d0f023ff06ad9425ce8 (patch) | |
tree | 936e4b55a2e8ada084512913a6ad2c72e0af3d2e /bin | |
parent | 0724980c110815de46302cbccc74926d0090faa4 (diff) | |
download | hdf5-9b5b3f2ffe84b5df06596d0f023ff06ad9425ce8.zip hdf5-9b5b3f2ffe84b5df06596d0f023ff06ad9425ce8.tar.gz hdf5-9b5b3f2ffe84b5df06596d0f023ff06ad9425ce8.tar.bz2 |
[svn-r13191] added the feature of check-vfd from v1.8 branch.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/snapshot | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/bin/snapshot b/bin/snapshot index 73d2f76..3cb227a 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -64,6 +64,9 @@ METHODS="gzip bzip2 md5" # Use User's MAKE if set. Else use generic make. MAKE=${MAKE:-make} +# Default check action. +CHECKVAL=check + # # Command options cmd="all" @@ -184,6 +187,9 @@ while [ $# -gt 0 ] ; do fi ReleaseDir="$1" ;; + check-vfd) + CHECKVAL=check-vfd + ;; --*) OP_CONFIGURE="$OP_CONFIGURE $1" ;; @@ -303,7 +309,7 @@ if [ "$cmd" = "all" -o -n "$cmdcheckout" ]; then TIMESTAMP "checkout" # If there is a Makefile in ${CURRENT}, the last test done in it # has not been distclean'ed. They would interfere with other - # --srcdir build since make considers the files in ${CURRENT} + # --srcdir build since make considers the files in ${CURRENT} # take precedence over files in its own build-directory. Run # a "make distclean" to clean them all out. This is not really # part of the "checkout" functions but this is the most convenient @@ -383,14 +389,14 @@ if [ "$cmd" = "all" -o -n "$cmdtest" -o -n "$cmddiff" ]; then ${srcdir:+${CURRENT}/}${CONFIGURE} && \ TIMESTAMP "make" && \ ${MAKE} && \ - TIMESTAMP "check" && \ - ${MAKE} check && \ + TIMESTAMP ${CHECKVAL} && \ + ${MAKE} ${CHECKVAL} && \ TIMESTAMP "install" && \ - ${MAKE} install install-doc && \ + ${MAKE} install-all && \ TIMESTAMP "check-install" && \ ${MAKE} check-install && \ TIMESTAMP "uninstall" && \ - ${MAKE} uninstall uninstall-doc); then + ${MAKE} uninstall-all); then : else errcode=$? @@ -410,10 +416,10 @@ if [ -n "$DEPLOYDIRNAME" ]; then if (cd ${TESTDIR} && ${CURRENT}/bin/deploy ${deploydir}/${DEPLOYDIRNAME} && \ TIMESTAMP "clean" && \ - ${MAKE} clean && \ + ${MAKE} clean && \ TIMESTAMP "check-install prefix=${deploydir}/${DEPLOYDIRNAME}" && \ ${MAKE} check-install prefix=${deploydir}/${DEPLOYDIRNAME}); then - : #continue + : #continue else errcode=$? exit $errcode |