Skip to content
Snippets Groups Projects

Added detailed check of acts tracking geometry

Merged Whitney Armstrong requested to merge acts_geo_check into master
Files
2
+ 24
0
 
#!/bin/bash
 
 
logfile=$1
 
 
# parse the verobse output of scripts/test_ACTS.cxx
 
res=0
 
 
nlines=$(grep -in error ${logfile} | grep -in D2A_ | wc -l)
 
if [[ "$nlines" > "0" ]] ; then
 
echo " ACTS geometry error: "
 
grep -in error ${logfile} | grep -in D2A_
 
res="1"
 
fi
 
 
 
nlines=$(grep -in warn ${logfile} | grep -in D2A_ | wc -l)
 
if [[ "$nlines" > "0" ]] ; then
 
echo " ACTS geometry error: "
 
grep -in warn ${logfile} | grep -in D2A_
 
res="1"
 
fi
 
 
exit ${res}
 
Loading