Skip to content
Snippets Groups Projects
Commit 3bd16617 authored by Sascha Stahl's avatar Sascha Stahl
Browse files

Merge branch 'lugrazet-BW-testmode' into 'master'

[RTA BW Tests] Check for env variable OVERRIDE_EVTMAX.

See merge request !373
parents fbce2426 6081e9fc
No related branches found
No related tags found
1 merge request!373[RTADPA BW Tests] Check for env variable OVERRIDE_EVTMAX.
Pipeline #6772891 passed
......@@ -21,6 +21,9 @@ Usage: Moore/run /path/to/Moore_bandwidth_test.sh [options] 2>&1 | tee <path-to-
Expected to be called by e.g. Moore_hlt2_bandwidth.sh for the periodic LHCbPR tests.
The number of events the tests run over is hard-coded below, but this can be modified by setting the environment variable OVERRIDE_EVTMAX.
This is useful to e.g. run from a released version, where one cannot easily edit the hard-coded number of events below.
For example: Moore/run env OVERRIDE_EVTMAX=1e4 /path/to/Moore_bandwidth_test.sh ...
--process: "hlt1", "hlt2" or "spruce".
--input-data: "nominal" or "latest".
"latest" not currently available for process == hlt1 or hlt2.
......@@ -97,7 +100,12 @@ mkdir -p tmp/Output
mkdir -p tmp/Output/Inter
# Set configuration variables and check configuration makes sense
EVTMAX=1e5
if [ -z "${OVERRIDE_EVTMAX}" ]; then
EVTMAX=1e5
else
EVTMAX=${OVERRIDE_EVTMAX}
fi
case $PROCESS in
hlt1)
MOORE_THREADS=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment