-
Notifications
You must be signed in to change notification settings - Fork 245
/
cmssw-pr-test-config
executable file
·25 lines (25 loc) · 883 Bytes
/
cmssw-pr-test-config
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
#!/bin/bash
CMSSW_VER=$CMSSW_VERSION
[ "${CMSSW_VER}" != "" ] || CMSSW_VER=${RELEASE_FORMAT}
CMSSW_MAJOR=0
CMSSW_MINOR=0
if [ "${CMSSW_VER}" != "" ] ; then
CMSSW_MAJOR=$(echo ${CMSSW_VER} | cut -d_ -f2)
CMSSW_MINOR=$(echo ${CMSSW_VER} | cut -d_ -f3)
fi
PR_TEST_MATRIX_EXTRAS_LAB_TRACKING=12434.7
PR_TEST_MATRIX_EXTRAS=1306.0,101.0,9.0,25202.0,10224.0,250202.181
if [ "$CMSSW_MAJOR" -ge 14 ] ; then
PR_TEST_MATRIX_EXTRAS_GPU=12834.402,12834.403,12834.406,12834.412,12834.422,12834.423
elif [ "$CMSSW_MAJOR" -ge 13 ] ; then
PR_TEST_MATRIX_EXTRAS_GPU=12434.586,12434.587
else
PR_TEST_MATRIX_EXTRAS_GPU=11634.586,11634.587
fi
PR_TEST_MATRIX_EXTRAS_PROFILING=29834.21,12634.21
PR_TEST_MATRIX_EXTRAS_HIGH_STATS=35034.0
PR_TEST_MATRIX_EXTRAS_NANO=all
MATRIX_OPTION_PROFILING=""
VAR_PREFIX="PR_TEST_MATRIX_EXTRAS"
[ "$2" = "" ] || VAR_PREFIX="$2"
eval "echo \${${VAR_PREFIX}${1}}"