Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-14 22:35:53

0001 #!/bin/sh
0002 
0003 function die { echo $1: status $2 ; exit $2; }
0004 
0005 echo " testing DetectorDescription/DDCMS"
0006 
0007 export tmpdir=${LOCAL_TMP_DIR:-/tmp}
0008 echo "===== Test \"python UnitsCheck.py testUnits.xml\" ===="
0009 python ${LOCAL_TEST_DIR}/python/UnitsCheck.py ${LOCAL_TEST_DIR}/data/testUnits.xml
0010 
0011 for entry in "${LOCAL_TEST_DIR}/python"/test*
0012 do
0013   # Skip local DB test
0014   if ! expr $entry : '.*TGeoIteratorLocalDB.*' > /dev/null ; then
0015     echo "===== Test \"cmsRun $entry \" ===="
0016     (cmsRun $entry) || die "Failure using cmsRun $entry" $?
0017   fi
0018 done
0019