10Test if MadGraph works when running a simple BSM model.
18import b2test_utils
as b2tu
21if __name__ ==
'__main__':
27 b2tu.skip_test(
"The test can not be properly run on buildbot.")
29 with b2tu.clean_working_directory()
as working_dir:
31 os.chmod(working_dir, 0o744)
33 steering_file = b2.find_file(
'generators/madgraph/examples/MadGraph_darkphoton_isr.py')
34 subprocess.check_call([
'basf2', steering_file,
'--random-seed',
'madgraph'])