Skip to content

Commit a767cbc

Browse files
committed
allow for custom O2DPG repo in anchored testing
1 parent 617b5e8 commit a767cbc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

MC/run/ANCHOR/tests/test_anchor_2tag_template.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,12 @@ export CYCLE=0
5353
# generator and other sim configuration
5454
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="%{SIM_OPTIONS}"
5555

56+
# we allow the possibility to use a special O2DPG version
57+
if [ "${O2DPG_CUSTOM_REPO}" ]; then
58+
git clone "${O2DPG_CUSTOM_REPO}" O2DPG
59+
export O2DPG_ROOT=${PWD}/O2DPG
60+
export ALIEN_JDL_O2DPG_OVERWRITE=${PWD}/O2DPG
61+
fi
62+
5663
# execute MC
5764
${O2DPG_ROOT}/MC/run/ANCHOR/anchorMC.sh

0 commit comments

Comments
 (0)