Changes in Testing/Regression/FortranEtadot/run_regrtest.sh [dfa7dbd:14d9618] in flex_extract.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Testing/Regression/FortranEtadot/run_regrtest.sh
rdfa7dbd r14d9618 17 17 exefast=calc_etadot_fast.out 18 18 hash=$(git log --abbrev-commit --pretty=oneline -n 1 --pretty=format:'%h') 19 csvfile='runtimes_'${HOST}'.csv' 19 20 exitonfail=true 20 21 numtest=0 … … 32 33 for ref in $inputs; do 33 34 34 echo 'Working on test case =' $ref 35 echo 'Working on test case =' $ref | tee -a ../log.run_regr 35 36 36 37 # loop over debug and fast runs … … 62 63 # omega case also produces fort.25 - need to add this 63 64 outref='../Outputs/Output_ref_'${ref}'_'${exe}'/'$outfile 64 test=$(cmp $outfile $outref) 65 if $test; then 65 if cmp -s $outfile $outref >/dev/null; then 66 66 echo ' '$outfile ' test passed' | tee -a ../log.run_regr 67 67 else … … 85 85 user=$(echo $times | grep user | awk '{print $4}') 86 86 sys=$( echo $times | grep sys | awk '{print $6}') 87 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../ runtimes.csv88 tail -1 ../ runtimes.csv>> log.run_regr87 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../${csvfile} 88 tail -1 ../${csvfile} >> log.run_regr 89 89 90 90 cd .. 91 rm Work/* # this is for being more safe91 rm -f Work/* # this is for being more safe 92 92 93 93 done # end of exe loop … … 100 100 | tee -a ../log.run_regr 101 101 echo ' More information may be found in log.run_regr' 102 echo ' Runtimes were added to runtimes.csvunder '$hash | tee -a ../log.run_regr102 echo ' Runtimes were added to '${csvfile}' under '$hash | tee -a ../log.run_regr 103 103 104 104 # the following code is executed only if exitonfail is not set to 'true'.
Note: See TracChangeset
for help on using the changeset viewer.