Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-16 09:02:54

0001 #!/bin/bash
0002 
0003 logfile=$1
0004 
0005 # parse the verobse output of scripts/test_ACTS.cxx
0006 res=0
0007 
0008 nlines=$(grep -in error ${logfile} | grep -in D2A_ | wc -l)
0009 if [[ "$nlines" > "0" ]] ; then
0010   echo " ACTS geometry error: "
0011   grep -in error ${logfile} | grep -in D2A_
0012   res="1"
0013 fi
0014 
0015 
0016 nlines=$(grep -in warn ${logfile} | grep -in D2A_ | wc -l)
0017 if [[ "$nlines" > "0" ]] ; then
0018   echo " ACTS geometry error: "
0019   grep -in warn ${logfile} | grep -in D2A_
0020   res="1"
0021 fi
0022 
0023 nlines=$(grep -in inconsistent ${logfile} | grep -in acts | wc -l)
0024 if [[ "$nlines" > "0" ]] ; then
0025   echo " ACTS geometry error: "
0026   grep -in inconsistent ${logfile} | grep -in acts
0027   res="1"
0028 fi
0029 
0030 exit ${res}