Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:45

0001 # Unit test configuration file for MessageLogger service
0002 # Uses include MessageLogger.cfi and nothing else except time stamp suppression
0003 # Currently output will be jumbled unless cout and cerr are directed separately
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 
0009 import FWCore.Framework.test.cmsExceptionsFatal_cff
0010 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0011 
0012 process.load("FWCore.MessageService.test.Services_cff")
0013 
0014 process.load("FWCore.MessageService.MessageLogger_cfi")
0015 process.MessageLogger.default = cms.untracked.PSet(
0016     noTimeStamps = cms.untracked.bool(True)
0017 )
0018 process.MessageLogger.cerr.noTimeStamps = True
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(1)
0022 )
0023 
0024 process.source = cms.Source("EmptySource")
0025 
0026 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_G")
0027 
0028 process.p = cms.Path(process.sendSomeMessages)