Changeset 14d9618 in flex_extract.git for Testing/Regression/FortranEtadot/run_regrtest.sh


Ignore:
Timestamp:
Jul 1, 2020, 2:40:48 PM (4 years ago)
Author:
pesei <petra.seibert [at ) univie.ac.at>
Branches:
master, ctbto, dev
Children:
e0005c9, 36dbabb
Parents:
d90a529
Message:

update the Fortran regression test and makefile_fast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Testing/Regression/FortranEtadot/run_regrtest.sh

    rd2d6cf9 r14d9618  
    1717exefast=calc_etadot_fast.out
    1818hash=$(git log --abbrev-commit --pretty=oneline -n 1  --pretty=format:'%h')
     19csvfile='runtimes_'${HOST}'.csv'
    1920exitonfail=true
    2021numtest=0
     
    8485    user=$(echo $times | grep user | awk '{print $4}')
    8586    sys=$( echo $times | grep sys  | awk '{print $6}')
    86     echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../runtimes.csv
    87     tail -1 ../runtimes.csv >> log.run_regr
     87    echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../${csvfile}
     88    tail -1 ../${csvfile} >> log.run_regr
    8889
    8990    cd ..
    90     rm Work/* # this is for being more safe
     91    rm -f Work/* # this is for being more safe
    9192
    9293  done # end of exe loop
     
    99100  | tee -a ../log.run_regr
    100101echo ' More information may be found in log.run_regr'
    101 echo ' Runtimes were added to runtimes.csv under '$hash | tee -a ../log.run_regr
     102echo ' Runtimes were added to '${csvfile}' under '$hash | tee -a ../log.run_regr
    102103
    103104# the following code is executed only if exitonfail is not set to 'true'.
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG