-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit tests for PixBary validation
- Loading branch information
Showing
4 changed files
with
47 additions
and
1 deletion.
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
23 changes: 23 additions & 0 deletions
23
Alignment/OfflineValidation/test/testingScripts/test_unitPixBary.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,23 @@ | ||
#!/bin/bash | ||
|
||
function die { echo $1: status $2 ; exit $2; } | ||
|
||
runrange=376370-379254 | ||
|
||
thistest="Alignment/PixelBarycentre single yaml configuration unitTest (test 1/3)" | ||
echo "TESTING $thistest..." | ||
pushd test_yaml/PixBary/single/testSinglePixBary/unitTest/$runrange | ||
./cmsRun validation_cfg.py config=validation.json || die "Failure running $thistest" $? | ||
popd | ||
|
||
thistest="Alignment/PixelBarycentre single yaml configuration mp3619 (test 2/3)" | ||
echo "TESTING $thistest..." | ||
pushd test_yaml/PixBary/single/testSinglePixBary/mp3619/$runrange | ||
./cmsRun validation_cfg.py config=validation.json || die "Failure running $thistest" $? | ||
popd | ||
|
||
thistest="Alignment/PixelBarycentre single json configuration unitTest (test 3/3)" | ||
echo "TESTING $thistest..." | ||
pushd test_json/PixBary/single/testSinglePixBary/unitTest/$runrange | ||
./cmsRun validation_cfg.py config=validation.json || die "Failure running $thistest" $? | ||
popd |
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