PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 2test=testtestDoc
 3function die { echo Failure $1: status $2 ; exit $2 ; }
 4pushd ${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
13exit 0