-
Notifications
You must be signed in to change notification settings - Fork 37.7k
test: Make secp tests optional in make check
#20264
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
Conversation
Add a configure flag to disable running secp tests with every `make check`.
Why not just run the tests you want directly, instead of the all-tests |
Hmm, that's a good question. Mostly I don't quite know how to do that. I see that
So it might be that |
I think the stuff currently covered by |
Yeah, I had previously (before today) mostly thought of I think it makes sense for |
Ok for what it's worth, I'm convinced by @luke-jr 's point that I would be better off having my script just directly run the parts of |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
~0. I don't think there's a need for us to add a configure option here. If you're trying to save resources I'd also suggest just disabling targets like the benchmarks ( |
I'm going to close this just to save on people's attention, since I have a better way and it doesn't seem like anybody's particularly in love with it. If someone is in fact in love with it, I'm happy to reopen. |
aa3cec4 Make libsecp256k1 tests optional (Kristaps Kaupe) Pull request description: They are expensive and slow, especially on a slow hardware like Raspberry Pi. Inspired by bitcoin/bitcoin#20264. Top commit has no ACKs. Tree-SHA512: ad23f8bab1f95fb5d0d7c6f2bcbe1a6950f7f62dd82e8d34d65abf6dffcfd1e7f9100d7c1423d1d8764ba6ce5145f5df17035130314432bb6e44361e7d773960
Add a configure flag to disable running secp tests with every
make check
.Hopefully this isn't too controversial -- I recognize the importance of testing libsecp, and obviously those tests will remain enabled by default. But this flag is useful when doing automated repeated runs of the bitcoin core test suite, to avoid repeatedly re-running the (somewhat expensive) libsecp test suite when libsecp is not changing (since it only gets re-vendored occasionally.)