Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-18 07:05:18

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 exit ${res}
0024