-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39170 from mmusich/AlCaBeamSpotProducer_unitTest
introduce unit tests for `AlCaBeamSpotProducer` and `AlCaBeamSpotHarvester`
- Loading branch information
Showing
4 changed files
with
118 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
Calibration/TkAlCaRecoProducers/test/testBeamSpotWorkflow.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#! /bin/bash | ||
function die { echo $1: status $2 ; exit $2; } | ||
if [ "${SCRAM_TEST_NAME}" != "" ] ; then | ||
mkdir ${SCRAM_TEST_NAME} | ||
cd ${SCRAM_TEST_NAME} | ||
fi | ||
|
||
echo "TESTING AlcaBeamSpotProducer ..." | ||
cmsRun ${LOCAL_TEST_DIR}/Alca_BeamFit_Workflow.py || die "Failure running Alca_BeamFit_Workflow.py" $? | ||
|
||
echo "TESTING AlcaBeamSpotHarvester ..." | ||
cmsRun ${LOCAL_TEST_DIR}/Alca_BeamSpot_Harvester.py || die "Failure running Alca_BeamSpot_Harvester.py" $? |