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

Harden regtest script #68

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Conversation

nyonson
Copy link
Collaborator

@nyonson nyonson commented Sep 30, 2024

regtest.sh was outputting some confusing noise when testing locally, so added a few smarts to the script to clean up the bitcoind instance.

  • regtest.sh is now entirely responsible for starting and stopping the require bitcoind daemon. The test no longer calls stop at the end, it gets to just focus on testing.
  • Dropped the rpc dependency since the test no longer needs to call it.
  • The dbg! macro usage was causing some confusing double output. I believe our use case is better suited by just println!.

@rustaceanrob
Copy link
Collaborator

ACK 86db8ba

@rustaceanrob rustaceanrob merged commit b8275f1 into rust-bitcoin:main Sep 30, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants