summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-03-27 20:32:45 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-03-27 20:32:45 (GMT)
commit580ba61650d57dce375b0c649d5ee7bd88580965 (patch)
tree49ca4d4903012aa3d8a0a9b0b56063362479236a /bin
parent84f1218f6b1426f73b20e641288c6ba015580d6a (diff)
downloadhdf5-580ba61650d57dce375b0c649d5ee7bd88580965.zip
hdf5-580ba61650d57dce375b0c649d5ee7bd88580965.tar.gz
hdf5-580ba61650d57dce375b0c649d5ee7bd88580965.tar.bz2
[svn-r12160] Purpose:
Added test Description: The deploy Daily Test is now more robust Solution: Previously, the Daily Tests (using the bin/snapshot script) would run bin/deploy to install HDF5 into a directory other than the --prefix specified at configure-time. However, this new installation was never tested using make check-install. Modified bin/snapshot to clean the test directory and run make check-install for the newly-deployed library. Platforms tested: tested snapshot script on mir. No changes to code. Trial by fire in Daily Tests tonight!
Diffstat (limited to 'bin')
-rwxr-xr-xbin/snapshot9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/snapshot b/bin/snapshot
index 65a83d6..8dd8d1f 100755
--- a/bin/snapshot
+++ b/bin/snapshot
@@ -411,8 +411,13 @@ fi # Test the HDF5 library
if [ -n "$DEPLOYDIRNAME" ]; then
if [ "$snapshot" = "yes" ]; then
TIMESTAMP "deploy"
- if (cd ${TESTDIR} && ${CURRENT}/bin/deploy ${deploydir}/${DEPLOYDIRNAME}); then
- : #continue
+ if (cd ${TESTDIR} &&
+ ${CURRENT}/bin/deploy ${deploydir}/${DEPLOYDIRNAME} && \
+ TIMESTAMP "clean" && \
+ ${MAKE} clean && \
+ TIMESTAMP "check-install prefix=${deploydir}/${DEPLOYDIRNAME}" && \
+ ${MAKE} check-install prefix=${deploydir}/${DEPLOYDIRNAME}); then
+ : #continue
else
errcode=$?
exit $errcode