/DetectorDescription/Parser/test/run_testDoc.sh

https://github.com/aivanov-cern/cmssw · Shell · 13 lines · 11 code · 0 blank · 2 comment · 0 complexity · d93019cb4fd1d27bb277dde45b9065e2 MD5 · raw file

  1. #!/bin/bash
  2. test=testtestDoc
  3. function die { echo Failure $1: status $2 ; exit $2 ; }
  4. pushd ${LOCAL_TMP_DIR}
  5. export mecpath=${PATH}
  6. export PATH=${LOCAL_TOP_DIR}/test/${SCRAM_ARCH}/:${PATH}
  7. cd ${LOCAL_TEST_DIR}
  8. # cp ${LOCAL_TOP_DIR}/test/${SCRAM_ARCH}/testDoc .
  9. echo ${test}testDoc ------------------------------------------------------------
  10. testDoc testConfiguration.xml|| die "testDoc" $?
  11. export PATH=${mecpath}
  12. popd
  13. exit 0