Skip to content
Snippets Groups Projects
Commit 9c06d126 authored by Dmitry Popov's avatar Dmitry Popov
Browse files

fixed names of lhcb tests binaries

parent baeda959
Branches
Tags
1 merge request!79"Modernize" CMake configuration
......@@ -73,7 +73,7 @@ for energy in energies:
"\n\tOutput Directory :\t%s\n",
'='*40, args.nevts, energy, t, args.scale, args.outputdir)
_logger.info('='*40)
subprocess.check_call("G4GammaToDiLeptonConversionTest.exe --nevts {} --energy {}"
subprocess.check_call("G4GammaToDiLeptonConversionTest --nevts {} --energy {}"
.format(args.nevts, energy) +
" --thickness {} --scale {} --outputdir {}"
.format(t, args.scale, args.outputdir), shell=True)
......
......@@ -82,12 +82,12 @@ def process(particle, target, phys_list):
tmp.write(template.format(particle=particle, target=target))
tmp.flush()
job = Popen(['G4HadronicXSectionsTest.exe', tmp.name,
job = Popen(['G4HadronicXSectionsTest', tmp.name,
phys_list], stdout=PIPE, stderr=PIPE)
job_out, job_err = job.communicate()
if job.returncode:
sys.exit('ERROR: G4HadronicXSectionsTest.exe exited with an error code!')
sys.exit('ERROR: G4HadronicXSectionsTest exited with an error code!')
if not os.path.exists("tables"):
os.makedirs("tables")
......
......@@ -87,7 +87,7 @@ def main():
create_cfg_file(n_runs=parsed_args.n_runs, name=cfg_file_name)
print('Executing the test...')
cmd = ' '.join(['G4MScInThinLayerTest.exe',
cmd = ' '.join(['G4MScInThinLayerTest',
cfg_file_name, str(parsed_args.n_runs)])
subprocess.call(cmd, shell=True)
......
......@@ -31,7 +31,7 @@ def main():
print('Working directory:', os.getcwd())
print('Executing the test...')
cmd = 'G4RichTbSimHTest.exe'
cmd = 'G4RichTbSimHTest'
subprocess.call(cmd, shell=True)
......
......@@ -372,7 +372,7 @@ def main():
create_cfg_file(n_evts=parsed_args.n_evts, name=cfg_file_name)
print('Executing the test...')
cmd = ' '.join(['G4SamplingCaloTest.exe', cfg_file_name])
cmd = ' '.join(['G4SamplingCaloTest', cfg_file_name])
subprocess.call(cmd, shell=True)
# Do not compile, run via ROOT directly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment