-
Notifications
You must be signed in to change notification settings - Fork 38.7k
test: Replace TEST_PREVIOUS_RELEASES env var with test_framework option #19014
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
|
Concept ACK |
|
Concept ACK. You have to explicitly opt out of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a Python 3.6 syntax I think
https://docs.python.org/3/library/os.html#os.listdir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, just me being stupid. I forgot to test this locally before pushing
fa1daae to
fab56c1
Compare
|
tACK fab56c1a6e95b75f0dacb2d7301ac0fec9a310d5 It would be nice if you could still opt-out without having to move the releases folder. This can be useful when a new version is added and I can't be bothered to download it. |
If this auto-detection behavior is too brittle, we should simply remove it. It seems odd to have default values depend on the presence of directories or files on the hard disk. |
fab56c1 to
faecf28
Compare
That's annoying. Now you have to add |
faecf28 to
fab56c1
Compare
|
re-tACK fab56c1 thanks for restoring |
|
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. |
fab56c1 to
fad798b
Compare
|
re-tACK fad798b |
…h test_framework option fad798b test: Default --previous-releases to false if dir is empty (MarcoFalke) faf1c3c test: Replace TEST_PREVIOUS_RELEASES env var with test_framework option (MarcoFalke) Pull request description: The "auto-detection" feature is kept in place, but making it an option allows to properly document it. For example, on my machine I get: ``` $ ./test/functional/wallet_disable.py --help | grep previous-releases --previous-releases Force test of previous releases (default: False) ACKs for top commit: Sjors: re-tACK fad798b Tree-SHA512: a7377d0d5378be0a50be278d76396cc403583617b5fc43467773eee706df698acf3f4e67651491183b9b43a8e1816b052e4c17b90272b7ec4b6ac134ad811400
The "auto-detection" feature is kept in place, but making it an option allows to properly document it. For example, on my machine I get: