Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds option to pass on debug flags from vara-run to benchbuild #850

Merged
merged 3 commits into from
Oct 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions varats/varats/tools/driver_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ def __validate_project_parameters(
@click.option(
"--container", is_flag=True, help="Run experiments in a container."
)
@click.option(
"--debug", is_flag=True, help="Run container in a interactive debug mode."
vulder marked this conversation as resolved.
Show resolved Hide resolved
)
@click.option(
"-E",
"--experiment",
Expand All @@ -104,6 +107,7 @@ def main(
slurm: bool,
submit: bool,
container: bool,
debug: bool,
experiment: tp.List[tp.Type['VersionExperiment']],
projects: tp.List[str],
pretend: bool,
Expand Down Expand Up @@ -145,6 +149,9 @@ def main(
bb_extra_args.append("--import")
else:
bb_command_args.append("container")
if debug:
bb_extra_args.append("--debug")
bb_extra_args.append("--interactive")

if not slurm:
bb_command_args.append("run")
Expand Down
Loading