Skip to content

Commit

Permalink
Leave environment set to get CMSSW_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Nov 6, 2024
1 parent 7df6c16 commit fafb1d7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pr_testing/run-pr-profiling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do
export LOCALRT=${WORKSPACE}/${CMSSW_VERSION}
PROF_RES="OK"
export PROFILING_WORKFLOW
eval `scram unsetenv -sh`
mkdir -p $WORKSPACE/IB
pushd $WORKSPACE/IB
scram project CMSSW $CMSSW_VERSION
scram project ${CMSSW_VERSION}
pushd $CMSSW_VERSION
eval `scram run -sh`
popd
Expand All @@ -46,9 +45,6 @@ for PROFILING_WORKFLOW in $WORKFLOWS;do
eval `scram unsetenv -sh`
popd
popd
pushd $CMSSW_VERSION
eval `scram run -sh`
popd
$WORKSPACE/profiling/Gen_tool/Gen.sh $CMSSW_VERSION || true
cp -v $WORKSPACE/IB/$CMSSW_VERSION/$PROFILING_WORKFLOW/step2.root $WORKSPACE/$CMSSW_VERSION/$PROFILING_WORKFLOW || true
for f in $(find $WORKSPACE/IB/$CMSSW_VERSION/$PROFILING_WORKFLOW -name step*.json);do
Expand Down

0 comments on commit fafb1d7

Please sign in to comment.