Skip to content
Snippets Groups Projects
Commit b64aee03 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Added detailed check of acts tracking geometry

parent 9c0c68de
No related branches found
No related tags found
1 merge request!101Added detailed check of acts tracking geometry
...@@ -175,11 +175,11 @@ convert_to_gdml: ...@@ -175,11 +175,11 @@ convert_to_gdml:
tracking_geometry_debug: tracking_geometry_debug:
stage: test stage: test
allow_failure: true
needs: needs:
- ["common:detector"] - ["common:detector"]
script: script:
- root -b -q "scripts/test_ACTS.cxx+(\"${DETECTOR_PATH}/athena.xml\")" | tee geo/tracking_geometry_debug.out - root -b -q "scripts/test_ACTS.cxx+(\"${DETECTOR_PATH}/athena.xml\")" | tee geo/tracking_geometry_debug.out
- ./bin/acts_geo_check geo/tracking_geometry_debug.out
detector:config_testing: detector:config_testing:
stage: test stage: test
......
#!/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}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment