Skip to content

CI: Use separate test files for VBF, monojet #356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions test/run_over_testfiles.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
#/bin/bash
set -e
while IFS=" " read -r DATASET REMOTE_PATH REMAINDER
do
FNAME=${DATASET}.root
if [[ ! -f $FNAME ]]; then
wget ${REMOTE_PATH}/${FNAME}
fi
echo ${FNAME} > files.txt
for PROCESSOR in monojet vbfhinv; do

test_processor(){
PROCESSOR="${1}"
FILELIST="${2}"

while IFS=" " read -r DATASET REMOTE_PATH REMAINDER
do
FNAME=${DATASET}.root
if [[ ! -f $FNAME ]]; then
wget ${REMOTE_PATH}/${FNAME}
fi
echo ${FNAME} > files.txt

buexec ${PROCESSOR} --outpath ./output/ --jobs 1 worker --dataset ${DATASET} --filelist files.txt --chunk 0
done
done < "testfiles.txt"
done < "testfiles.txt"
}


test_processor monojet testfiles_eoy_v7.txt
test_processor vbfhinv testfiles_ul_v8.txt
File renamed without changes.
4 changes: 4 additions & 0 deletions test/testfiles_ul_v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MET_ver1_2017D https://aalbert.web.cern.ch/aalbert/public/ULv8_05Feb21
MET_ver4_2018B https://aalbert.web.cern.ch/aalbert/public/ULv8_05Feb21
WJetsToLNu_HT-400To600-MLM_2017 https://aalbert.web.cern.ch/aalbert/public/ULv8_05Feb21
WJetsToLNu_HT-400To600-MLM_2018 https://aalbert.web.cern.ch/aalbert/public/ULv8_05Feb21