3 # Loop over all installed fcl files.
     5 find $MRB_BUILDDIR/larpandora/job -name \*.fcl -print | while read fcl
     7   echo "Testing fcl file $fcl"
    11   fclout=`basename ${fcl}`.out
    12   larout=`basename ${fcl}`.lar.out
    13   larerr=`basename ${fcl}`.lar.err
    14   lar -c $fcl --debug-config $fclout > $larout 2> $larerr
    16   # Exit status 1 counts as success.
    17   # Any other exit status exit immediately.
    20   if [ $stat -ne 0 -a $stat -ne 1 ]; then
    21     echo "Error parsing ${fcl}."
    25   # Check for certain kinds of diagnostic output.
    27   if egrep -iq 'deprecated|no longer supported' $larerr; then
    28     echo "Deprecated fcl construct found in ${fcl}."