Skip to content

Commit

Permalink
Merge pull request #23 from ktf/ktf/tagset-133153-bis
Browse files Browse the repository at this point in the history
Unit tests related to bug fix in tagset 133141, forgot to include them.
  • Loading branch information
ktf committed Jul 2, 2013
2 parents 1510e16 + 1fc3ee9 commit a50aaab
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
6 changes: 6 additions & 0 deletions FWCore/Integration/test/run_RunMerge.sh
Expand Up @@ -58,6 +58,9 @@ pushd ${LOCAL_TMP_DIR}
echo ${test}MERGE4------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE4_cfg.py || die "cmsRun ${test}MERGE4_cfg.py" $?

echo ${test}MERGE5------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE5_cfg.py || die "cmsRun ${test}MERGE5_cfg.py" $?

echo ${test}TEST------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST_cfg.py || die "cmsRun ${test}TEST_cfg.py" $?

Expand All @@ -76,6 +79,9 @@ pushd ${LOCAL_TMP_DIR}
echo ${test}TEST4------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST4_cfg.py || die "cmsRun ${test}TEST4_cfg.py" $?

echo ${test}TEST5------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST5_cfg.py || die "cmsRun ${test}TEST5_cfg.py" $?

echo ${test}TEST11------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST11_cfg.py || die "cmsRun ${test}TEST11_cfg.py" $?

Expand Down
23 changes: 23 additions & 0 deletions FWCore/Integration/test/testRunMergeMERGE5_cfg.py
@@ -0,0 +1,23 @@
import FWCore.ParameterSet.Config as cms

process = cms.Process("MERGE5")

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)

process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'file:testRunMerge2extra.root'
)
)

process.out = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('testRunMergeMERGE5.root'),
outputCommands = cms.untracked.vstring(
'keep *',
'drop *_aliasForThingToBeDropped2_*_*'
)
)

process.e = cms.EndPath(process.out)
24 changes: 24 additions & 0 deletions FWCore/Integration/test/testRunMergeTEST5_cfg.py
@@ -0,0 +1,24 @@
import FWCore.ParameterSet.Config as cms

process = cms.Process("TEST5")

process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'file:testRunMergeMERGE5.root'
),
secondaryFileNames = cms.untracked.vstring(
'file:testRunMerge2extra.root'
)
)

process.test = cms.EDAnalyzer("TestMergeResults",
testAlias = cms.untracked.bool(True)
)

process.path1 = cms.Path(process.test)

process.out = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('testRunMergeTEST5.root')
)

process.e = cms.EndPath(process.out)

0 comments on commit a50aaab

Please sign in to comment.