-
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 #40972 from smuzaffar/alca-fix-unit-test
[ALCA] Various fixes/improvements for unit test
- Loading branch information
Showing
16 changed files
with
77 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,42 @@ | ||
<environment> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="validateAlignments"> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/validateAlignments.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="DMRall"> | ||
<test name="validateAlignments" command="testingScripts/validateAlignments.sh"/> | ||
<test name="DMRall" command="testingScripts/test_unitDMR.sh"> | ||
<flags PRE_TEST="validateAlignments"/> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitDMR.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="PVall"> | ||
</test> | ||
<test name="PVall" command="testingScripts/test_unitPV.sh"> | ||
<flags PRE_TEST="validateAlignments"/> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitPV.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="SplitVall"> | ||
</test> | ||
<test name="SplitVall" command="testingScripts/test_unitSplitV.sh"> | ||
<flags PRE_TEST="validateAlignments"/> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitSplitV.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="JetHTall"> | ||
</test> | ||
<test name="JetHTall" command="testingScripts/test_unitJetHT.sh"> | ||
<flags PRE_TEST="validateAlignments"/> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitJetHT.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="GCPall"> | ||
</test> | ||
<test name="GCPall" command="testingScripts/test_unitGCP.sh"> | ||
<flags PRE_TEST="validateAlignments"/> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitGCP.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
</test> | ||
<bin file="testTrackAnalyzers.cc" name="testTrackAnalysis"> | ||
<use name="FWCore/TestProcessor"/> | ||
<use name="catch2"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="PrimaryVertex"> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitPrimaryVertex.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<test name="PrimaryVertex" command="testingScripts/test_unitPrimaryVertex.sh"/> | ||
<bin file="testPVPlotting.cpp" name="testPVPlotting"> | ||
<flags PRE_TEST="PrimaryVertex"/> | ||
<use name="rootmath"/> | ||
<use name="roothistmatrix"/> | ||
<use name="rootgraphics"/> | ||
<use name="Alignment/OfflineValidation"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="DiMuonVertex"> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitDiMuonVertex.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="SubmitPVrbr"> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitSubmitPVrbr.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="SubmitPVsplit"> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitSubmitPVsplit.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="EoP"> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitEoP.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<test name="DiMuonVertex" command="testingScripts/test_unitDiMuonVertex.sh"/> | ||
<test name="SubmitPVrbr" command="testingScripts/test_unitSubmitPVrbr.sh"/> | ||
<test name="SubmitPVsplit" command="testingScripts/test_unitSubmitPVsplit.sh"/> | ||
<test name="EoP" command="testingScripts/test_unitEoP.sh"/> | ||
<bin file="testEoPPlotting.cpp" name="testEoPPlotting"> | ||
<flags PRE_TEST="EoP"/> | ||
<use name="rootmath"/> | ||
<use name="roothistmatrix"/> | ||
<use name="rootgraphics"/> | ||
<use name="Alignment/OfflineValidation"/> | ||
</bin> | ||
<bin file="testAlignmentOfflineValidation.cpp" name="Miscellanea"> | ||
<flags TEST_RUNNER_ARGS=" /bin/bash Alignment/OfflineValidation/test testingScripts/test_unitMiscellanea.sh"/> | ||
<use name="FWCore/Utilities"/> | ||
</bin> | ||
<test name="Miscellanea" command="testingScripts/test_unitMiscellanea.sh"/> | ||
</environment> |
2 changes: 0 additions & 2 deletions
2
Alignment/OfflineValidation/test/testAlignmentOfflineValidation.cpp
This file was deleted.
Oops, something went wrong.
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
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
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
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
6 changes: 2 additions & 4 deletions
6
Alignment/OfflineValidation/test/testingScripts/validateAlignments.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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
#!/bin/zsh | ||
|
||
cd $CMSSW_BASE/src/Alignment/OfflineValidation/test | ||
|
||
echo "Printing help" | ||
validateAlignments.py -h | ||
|
||
echo "Running over YAML" | ||
validateAlignments.py -v -f -d unit_test.yaml | ||
validateAlignments.py -v -f -d ${CMSSW_BASE}/src/Alignment/OfflineValidation/test/unit_test.yaml | ||
|
||
echo "Running over JSON" | ||
validateAlignments.py -v -d -f unit_test.json | ||
validateAlignments.py -v -d -f ${CMSSW_BASE}/src/Alignment/OfflineValidation/test/unit_test.json |