summaryrefslogtreecommitdiffstats
path: root/bin/snapshot
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-07-31 19:46:16 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-07-31 19:46:16 (GMT)
commitbeb04ae817268a49656b5abe043627dcbba15e5d (patch)
tree557b0c0908867dbb7185c3954626b2a2da3bcaf4 /bin/snapshot
parent70b46a1d89e7f9f4a82748a9e1cc21fb4f121ebe (diff)
downloadhdf5-beb04ae817268a49656b5abe043627dcbba15e5d.zip
hdf5-beb04ae817268a49656b5abe043627dcbba15e5d.tar.gz
hdf5-beb04ae817268a49656b5abe043627dcbba15e5d.tar.bz2
[svn-r12519] Fixed "make check-vfd"
"make check-vfd" will now run all tests in the test directory with different file drivers (at least, all of those tests that use the testing framework's FAPL). Tests that fail will be skipped. This is not a perfect fix, but is better than nothing. Along with this change, check-vfd should be added to the Daily Tests.
Diffstat (limited to 'bin/snapshot')
-rwxr-xr-xbin/snapshot19
1 files changed, 13 insertions, 6 deletions
diff --git a/bin/snapshot b/bin/snapshot
index 2c079db..884f1d5 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -19,6 +19,9 @@
# checked back into the CVS repository.
#
+
+CHECKVAL=check
+
# function definitions
TIMESTAMP()
{
@@ -188,6 +191,9 @@ while [ $# -gt 0 ] ; do
--*)
OP_CONFIGURE="$OP_CONFIGURE $1"
;;
+ check-vfd)
+ CHECKVAL=check-vfd
+ ;;
op-configure)
shift
if [ $# -lt 1 ]; then
@@ -314,10 +320,11 @@ if [ "$cmd" = "all" -o -n "$cmdcheckout" ]; then
( cd ${CURRENT}; test -f Makefile && ${MAKE} distclean)
# verify proper cvs setting
- if [ -z "$CVSROOT" ]; then
- echo "CVSROOT not defined!" 1>&2
- exit 1
- fi
+ # if [ -z "$CVSROOT" ]; then
+ # echo "CVSROOT not defined!" 1>&2
+ # exit 1
+ # fi
+
SVNROOT=http://sleipnir.hdfgroup.uiuc.edu/svn/repos
# Check out the current version from CVS
# (cd $BASEDIR; cvs -Q co -P -d current ${CVSVERSION} hdf5 ) || exit 1
@@ -392,7 +399,7 @@ if [ "$cmd" = "all" -o -n "$cmdtest" -o -n "$cmddiff" ]; then
TIMESTAMP "make" && \
${MAKE} && \
TIMESTAMP "check" && \
- ${MAKE} check && \
+ ${MAKE} ${CHECKVAL} && \
TIMESTAMP "install" && \
${MAKE} install-all && \
TIMESTAMP "check-install" && \
@@ -442,7 +449,7 @@ if [ "$cmd" = "all" -o -n "$cmdrel" ]; then
bin/release -d $ARCHIVES $METHODS
perl bin/h5vers -i
# cvs -Q commit -m "Snapshot $RELEASE_VERSION"
- svn -q commit -m "Snapshot $RELEASE_VERSION"
+ svn -q commit -m "Snapshot $RELEASE_VERSION"
)
errcode=$?
fi