diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2002-02-28 15:10:30 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2002-02-28 15:10:30 (GMT) |
commit | 1e8161af387cf2e5cb5d97f8dfe32ba15d1c8410 (patch) | |
tree | a8dfbbe73f8c9bc37693c462de7ebded96092f03 /bin/runtest | |
parent | 78e3463dbb62dcc18ebab71eaa7ec675aa9d3cae (diff) | |
download | hdf5-1e8161af387cf2e5cb5d97f8dfe32ba15d1c8410.zip hdf5-1e8161af387cf2e5cb5d97f8dfe32ba15d1c8410.tar.gz hdf5-1e8161af387cf2e5cb5d97f8dfe32ba15d1c8410.tar.bz2 |
[svn-r5024] Purpose:
Feature
Description:
The output of multiple tests of one host used to all go to the same
logfile. It is harder to find the beginning of each test.
Solution:
Added hour and minute (HHMM) into the logfile name. Different
tests should go to different files now. If a second test starts
within a minute of the previous test, their output will be all
in the same file. In the case, there are probably not that much
output to worry.
Platforms tested:
eirene
Diffstat (limited to 'bin/runtest')
-rwxr-xr-x | bin/runtest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/runtest b/bin/runtest index 3728c15..01d5113 100755 --- a/bin/runtest +++ b/bin/runtest @@ -312,7 +312,8 @@ RUNSNAPTEST() fi # Setup log file name to save test output - LOGFILE=${LOGBASENAME}${SRCDIRNAME}_${TODAY} + THIS_MINUTE=`date +%H%M` + LOGFILE=${LOGBASENAME}${SRCDIRNAME}_${TODAY}_${THIS_MINUTE} PRINT "Running snapshot with output saved in" PRINT " $LOGFILE" (date; PRINT Hostname=$HOSTNAME) >> $LOGFILE |