Belle II Software
development
test_whizard.py
1
8
9
'''
10
Test if WHIZARD works.
11
'''
12
13
import
subprocess
14
15
import
basf2
as
b2
16
import
b2test_utils
as
b2tu
17
18
19
if
__name__ ==
'__main__'
:
20
21
if
not
b2tu.is_ci():
22
b2tu.skip_test(
"The test can not be properly run on buildbot."
)
23
24
with
b2tu.clean_working_directory()
as
working_dir:
25
26
steering_file = b2.find_file(
'generators/examples/Whizard.py'
)
27
subprocess.check_call([
'basf2'
, steering_file,
'--experiment'
,
'0'
,
'--run'
,
'0'
,
'-n'
,
'100'
])
generators
tests
test_whizard.py
Generated on Fri Nov 8 2024 02:39:01 for Belle II Software by
1.9.6