Definition at line 5 of file signal_handler_test.py.
| def newFormat.signal_handler_test.Test.__init__ |
( |
|
self | ) |
|
Definition at line 7 of file signal_handler_test.py.
9 BaseTest.__init__(self)
10 self.
name = os.path.basename(__file__)[:-5]
14 from Gaudi.Configuration import *
16 from Configurables import GaudiTesting__SignallingAlg as SignallingAlg
17 from Configurables import Gaudi__Utils__StopSignalHandler as StopSignalHandler
19 importOptions("Common.opts")
20 alg = SignallingAlg(Signal = 2) # SIGINT
21 #StopSignalHandler(Signals = ["SIGINT", "SIGXCPU"]) # this is the default
23 app = ApplicationMgr(TopAlg = [alg],
24 EvtSel = "NONE", EvtMax = 5,
27 MessageSvc().setDebug.append("EventLoopMgr")"""
| def newFormat.signal_handler_test.Test.validator |
( |
|
self, |
|
|
|
stdout, |
|
|
|
stderr, |
|
|
|
result, |
|
|
|
causes, |
|
|
|
reference, |
|
|
|
error_reference |
|
) |
| |
Definition at line 28 of file signal_handler_test.py.
29 def validator(self,stdout,stderr, result, causes, reference, error_reference):
31 GaudiTesting::S... INFO 3 events to go
32 GaudiTesting::S... INFO 2 events to go
33 GaudiTesting::S... INFO 1 events to go
34 GaudiTesting::S... INFO Raising signal now
35 Gaudi::Utils::S...WARNING Received signal 'SIGINT' (2, Interrupt)
36 Gaudi::Utils::S...WARNING Scheduling a stop
37 EventLoopMgr SUCCESS Terminating event processing loop due to a stop scheduled by an incident listener
38 ApplicationMgr INFO Application Manager Stopped successfully
""")
| newFormat.signal_handler_test.Test.exit_code |
| newFormat.signal_handler_test.Test.name |
| newFormat.signal_handler_test.Test.options |
| newFormat.signal_handler_test.Test.program |
The documentation for this class was generated from the following file: