Belle II Software development
test_pipiISR_fullnlo.py
1
8
9'''
10Check stdout of generators/tests/test_pipiISR_fullnlo.py_noexec
11'''
12
13import basf2
14import b2test_utils
15import subprocess
16
17
18if __name__ == '__main__':
20
21 steering_file = basf2.find_file('generators/tests/test_pipiISR_fullnlo.py_noexec')
22
24 process = subprocess.run(
25 ['basf2', steering_file],
26 capture_output=True,
27 text=True,
28 check=True)
29 if "Rerun with positive mu2" in process.stdout:
30 basf2.B2FATAL('Phokhara fails to generate pipiISR with FullNLO.')
31 print(process.stdout)
def clean_working_directory()
Definition: __init__.py:194
def configure_logging_for_tests(user_replacements=None)
Definition: __init__.py:106