Commit d4a50980 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Added a ConfigurableUser in GaudiExamples to simplify the configuration

From: Marco Clemencic <marco.clemencic@cern.ch>


git-svn-id: svn+ssh://svn.cern.ch/reps/gaudi/Gaudi/branches/GAUDI/GAUDI_newpack@6742 53ecefc3-a64d-0410-9bdf-b8581fa3287e
parent 64c5f500
......@@ -64,6 +64,8 @@ apply_pattern reflex_dictionary dictionary=GaudiExamples \
options=" $(includes) "
macro GaudiExamplesDict_use_linkopts $(use_linkopts)
apply_pattern install_python_modules
#==> Gaudi with multiple threads
# commented out since it shall not link GaudiSvc
# application GaudiMT GaudiMT/GaudiMTMain.cpp \
......
......@@ -7,6 +7,7 @@ Package manager : Marco Clemencic
- moved python scripts 'scripts'
- moved reference files to 'tests/qmtest/refs'
- moved input.hbook to 'tests/data'
- Added a ConfigurableUser to simplify the configuration (replaces Common.opts)
! 2011-12-08 - Marco Clemencic
- Ported POOLIO Write and Read tests to ROOT.
......
"""
Module with the ConfigurablesUser for the common configuration in the examples.
"""
__author__ = "Marco Clemencic <marco.clemencic@cern.ch>"
from GaudiKernel.Configurable import ConfigurableUser
from Gaudi.Configuration import INFO
class GaudiExamplesCommonConf(ConfigurableUser):
"""Enable common configuration for GaudiExamples tests.
"""
__slots__ = {"OutputLevel": INFO}
def __apply_configuration__(self):
from Configurables import (AuditorSvc, ChronoAuditor, ApplicationMgr,
MessageSvc)
AuditorSvc().Auditors.append(ChronoAuditor())
ApplicationMgr(StatusCodeCheck=True)
self.propagateProperties(others = MessageSvc())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment