Skip to content

add output directory option to run command #37

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

Open
andre15silva opened this issue Feb 11, 2025 · 0 comments
Open

add output directory option to run command #37

andre15silva opened this issue Feb 11, 2025 · 0 comments

Comments

@andre15silva
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant