Changeset 14d9618 in flex_extract.git for Testing/Regression/FortranEtadot/run_regrtest.sh
- Timestamp:
- Jul 1, 2020, 2:40:48 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- e0005c9, 36dbabb
- Parents:
- d90a529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Testing/Regression/FortranEtadot/run_regrtest.sh
rd2d6cf9 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 … … 84 85 user=$(echo $times | grep user | awk '{print $4}') 85 86 sys=$( echo $times | grep sys | awk '{print $6}') 86 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../ runtimes.csv87 tail -1 ../ runtimes.csv>> log.run_regr87 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../${csvfile} 88 tail -1 ../${csvfile} >> log.run_regr 88 89 89 90 cd .. 90 rm Work/* # this is for being more safe91 rm -f Work/* # this is for being more safe 91 92 92 93 done # end of exe loop … … 99 100 | tee -a ../log.run_regr 100 101 echo ' More information may be found in log.run_regr' 101 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 102 103 103 104 # the following code is executed only if exitonfail is not set to 'true'.
Note: See TracChangeset
for help on using the changeset viewer.