Skip to content

Commit 2676bc8

Browse files
committed
Fix TEST_DIR
1 parent 77e4d1f commit 2676bc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CalibPPS/TimingCalibration/test/test_timing_LUT_cal.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Pass in name and status
44
function die { echo $1: status $2 ; exit $2; }
55

6-
TEST_DIR=src/CondTools/CTPPS/test
6+
TEST_DIR=$CMSSW_RELEASE_BASE/src/CondTools/CTPPS/test
7+
if [ -e $CMSSW_BASE/src/CondTools/CTPPS/test ] ; then
8+
TEST_DIR=$CMSSW_BASE/src/CondTools/CTPPS/test
9+
fi
710

811
cmsRun $TEST_DIR/ppsTimingCalibrationLUTWriter_cfg.py || die "LUT writer failed" $?
912
echo "LUT writer succeeded"

0 commit comments

Comments
 (0)