![]() |
|
|||
File indexing completed on 2023-03-17 11:03:03
0001 # Test that the ParameterSetDescription validation 0002 # is being run by defining an illegal parameter. 0003 # An exception should be thrown and the job stops. 0004 0005 import FWCore.ParameterSet.Config as cms 0006 0007 process = cms.Process("TEST") 0008 0009 process.load("FWCore.MessageService.MessageLogger_cfi") 0010 process.MessageLogger.cerr.enableStatistics = False 0011 0012 # Intentionally define a parameter that does not 0013 # exist in the ParameterSetDescription which 0014 # should result in an exception. 0015 process.source = cms.Source("PoolSource", 0016 fileNames = cms.untracked.vstring("file:dummy.root"), 0017 doesNotExist = cms.bool(True)) 0018
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |