Skip to content
Snippets Groups Projects

Adapt code for the lbexec command (incl. removal of run-mc)

Merged Davide Fazzini requested to merge dfazzini_adapt_code_for_lbexec into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -40,7 +40,7 @@ def test_override_job_option():
Verify the overriding of a DaVinci option on the fly.
No need to actually run the job, hence the dry run.
"""
cmd = 'davinci --export test_override_job_option.opts --dry-run run-mc --override_data_options '\
cmd = 'davinci --export test_override_job_option.opts --dry-run --override_data_options '\
' --process "Turbo" --inputfiledb Upgrade_Bd2KstarMuMu -'
result = subprocess.run(cmd, shell=True)
@@ -60,7 +60,7 @@ def test_override_job_option_bis():
(see related test "test_override_job_option").
No need to actually run the job, hence the dry run.
"""
cmd = 'davinci --export test_override_job_option_bis.opts --dry-run run-mc --process "Turbo" '\
cmd = 'davinci --export test_override_job_option_bis.opts --dry-run --process "Turbo" '\
' --override_data_options --inputfiledb Upgrade_Bd2KstarMuMu -'
result = subprocess.run(cmd, shell=True)
@@ -79,7 +79,7 @@ def test_run_option_shortcut():
Verify that the option values passed to the davinci command are accepted
also when not using the full name (e.g. --inputfiledb ==> -i).
"""
cmd = 'davinci --dry-run -o test_run_option_shortcut.opts run-mc -i Upgrade_Bd2KstarMuMu -'
cmd = 'davinci --dry-run -o test_run_option_shortcut.opts -i Upgrade_Bd2KstarMuMu -'
result = subprocess.run(cmd, shell=True)
# Just be maniac - the command should work ;-)
Loading