Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#!/bin/sh
echo " testing Geometry/CommonTopologies"

export tmpdir=${PWD}
cmsRun ${SCRAM_TEST_PATH}/python/ValidateRadial_cfg.py | grep "ALIVE" > /dev/null
if [[ $? -ne 0 ]]
then
 echo "Vin test tricks do not work"
 exit 20
fi
cmsRun ${SCRAM_TEST_PATH}/python/ValidateRadial_cfg.py | grep "BOGUS" > /dev/null
if [[ $? -eq 0 ]]
then
 echo "Vin test tricks do not work"
 exit 20
fi

rm -f failureLimits.root
cmsRun ${SCRAM_TEST_PATH}/python/ValidateRadial_cfg.py | grep "FAILED" > /dev/null
if [[ $? -eq 0 ]]
then
 echo "ValidateRadial failed"
 rm -f failureLimits.root
 exit 20
fi
rm -f failureLimits.root