Skip to content

add output directory option to run command #37

@andre15silva

Description

@andre15silva

We are "using" this option already in the tests (see

output_dir = os.path.join(temp_dir, "gitbug-java-output", str(uuid.uuid4()))
try:
# Checkout the bug and check correctness
run = run_command(
f"gitbug-java checkout {bid} {temp_dir} {'--fixed' if fixed else ''}"
)
if run.returncode != 0:
print(f"{bid} ({fixed}) failed to checkout")
print(run.stdout.decode("utf-8"))
print(run.stderr.decode("utf-8"))
return
# Run the bug and check results
run = run_command(
f"gitbug-java run {temp_dir} --act_cache_dir={act_cache_dir} --output={output_dir}"
)
), but it does not exist.

We should add it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions