mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[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
This commit is contained in:
parent
78e3463dbb
commit
1e8161af38
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user