Skip to content
Snippets Groups Projects
Commit 7aa5dfe5 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

add a test case.

parent caf1732d
No related branches found
No related tags found
No related merge requests found
......@@ -8,4 +8,8 @@ set(Examples_srcs
gaudi_add_module(Examples ${Examples_srcs}
INCLUDE_DIRS GaudiKernel
LINK_LIBRARIES GaudiKernel
)
\ No newline at end of file
)
# Examples
gaudi_add_test(HelloAlg
FRAMEWORK options/helloalg.py)
\ No newline at end of file
#!/usr/bin/env python
from Gaudi.Configuration import *
from Configurables import HelloAlg
helloalg = HelloAlg("helloAlg")
helloalg.MyInt = 42
# ApplicationMgr
from Configurables import ApplicationMgr
ApplicationMgr( TopAlg = [helloalg],
EvtSel = 'NONE',
EvtMax = 10,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment