diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-12-03 17:10:29 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-12-03 17:10:29 (GMT) |
commit | 99258dce52b05c792703b20ecee08be1025737ac (patch) | |
tree | a3c60616f7dbf17e9de80804ed973ce3a276c834 /bin | |
parent | 63e25416266ac339312fd8d1b1ca1e2c14256650 (diff) | |
download | hdf5-99258dce52b05c792703b20ecee08be1025737ac.zip hdf5-99258dce52b05c792703b20ecee08be1025737ac.tar.gz hdf5-99258dce52b05c792703b20ecee08be1025737ac.tar.bz2 |
[svn-r7911] Purpose:
feature
Description:
-setup now also sets up or updates the current source directory.
Platforms tested:
LANL Theta.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/runtest | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/runtest b/bin/runtest index 129c3da..db7cc33 100755 --- a/bin/runtest +++ b/bin/runtest @@ -637,9 +637,14 @@ if test x-$CMD = x-setup; then test $errcode -ne 0 && exit 1 # create empty test hosts or configure files if non-existing for f in $ALLHOSTSFILE $SNAPTESTCFG; do - echo Creating $f - touch $f + if test ! -f $f; then + echo Creating $f + touch $f + fi done + # create or update the current source. + echo update current source + $SNAPSHOT checkout # setup completed. Exit. exit 0 fi |