#!/usr/bin/env bash

BASEDIR=$(dirname "$0")
# =============================================================================
# User parameters
# =============================================================================
# Set url of LHCbPR2BE API server

export lhcbpr_api_url=${LHCBPR_API_URL:-"https://lblhcbpr.cern.ch/api"}
# Set job description name. List of all job descriptions:
#   ${lhcbpr_api_url}/options/
# Find description by name, for example:
#   ${lhcbpr_api_url}/options/?description=GEANT_RUNHADRONIC
export testgroup='100Evts-GAUSS-2015'

# Set slot name. Available slots: https://cern.ch/lhcb-nightlies-artifacts/nightly
export slot=lhcb-sim09

# Set slot build id. Available builds:
# https://cern.ch/lhcb-nightlies-artifacts/nightly/${slot}
# e.g. https://cern.ch/lhcb-nightlies-artifacts/nightly/lhcb-sim09
export slot_build_id=222

# CMTCONFIG
export platform=x86_64-slc6-gcc49-opt
export project=Gauss
# Set handler name from LHCbPR2HD project
export testenv='lb-run-gaudirun|gaussValidation'

# =============================================================================
export testrunner=lhcbpr
export input_flavour=nightly
export flavour=periodic
export os_label=perf
$BASEDIR/../../jenkins/periodic-tests/tests.sh
