-
Notifications
You must be signed in to change notification settings - Fork 38.7k
build: Remove unnecessary executables from gitian release #7776
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
|
utACK 8e25246 |
3 similar comments
|
utACK 8e25246 |
|
utACK 8e25246 |
|
utACK 8e25246 |
|
No objections to the changes here, but I think we also want theuni@72946e1 ? |
|
utACK 8e25246 |
I think it's a bit inconsistent - what if people want them installed? |
A consistent policy there would be "do not install the tests at all". But then we'd have to take special care to put Testing this in gitian now. |
|
Yep, i suppose I agree. ut ACK. |
|
|
|
It's not properly disabling test_bitcoin-qt. And this is probably the reason: E.g. we don't actually use BUILD_TEST_QT anywhere. |
This removes the following executables from the binary gitian release: - test_bitcoin-qt[.exe] - bench_bitcoin[.exe] @jonasschnelli and me discussed this on IRC a few days ago - unlike the normal `bitcoin_tests` which is useful to see if it is safe to run bitcoin on a certain OS/environment combination, there is no good reason to include these. Better to leave them out to reduce the download size. Sizes from the 0.12 release: ``` 2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe 22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe ```
8e25246 to
f063863
Compare
|
@theuni Pushed a new version which does work. Can you take a look? I removed a few and then use them at the end: I think this is clearer - no need to repeat the logic. But maybe I'm doing something completely against autoconf gospels I don't know.... |
|
@laanwj Looks ok to me, and works as described in a quick test. The one case that's unclear is "--disable-tests --enable-gui-tests". As-is it built test_bitcoin-qt but not bitcoin_test. That's fine by me (I don't really care either way which one overrides), but it might help to make the help string more clear that the gui tests don't imply non-gui tests. |
That was the intended behavior, yes. This allows the maximum flexibility: if you want the GUI tests but not normal tests, or normal tests but not GUI tests, both is possible. Could try to improve the help string. Edit: On second thought
I'm not sure how I would go around making this clearer. |
f063863 build: Remove unnecessary executables from gitian release (Wladimir J. van der Laan)
This removes the following executables from the binary gitian release: - test_bitcoin-qt[.exe] - bench_bitcoin[.exe] @jonasschnelli and me discussed this on IRC a few days ago - unlike the normal `bitcoin_tests` which is useful to see if it is safe to run bitcoin on a certain OS/environment combination, there is no good reason to include these. Better to leave them out to reduce the download size. Sizes from the 0.12 release: ``` 2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe 22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe ``` Github-Pull: #7776 Rebased-From: f063863
This removes the following executables from the binary gitian release: - test_bitcoin-qt[.exe] - bench_bitcoin[.exe] @jonasschnelli and me discussed this on IRC a few days ago - unlike the normal `bitcoin_tests` which is useful to see if it is safe to run bitcoin on a certain OS/environment combination, there is no good reason to include these. Better to leave them out to reduce the download size. Sizes from the 0.12 release: ``` 2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe 22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe ``` Github-Pull: bitcoin#7776 Rebased-From: f063863
Forgot to do this in bitcoin#7776.
Forgot to do this in bitcoin#7776.
Upstream gitian updates This PR pulls in all gitian-related PRs that have been merged upstream since 0.11.2. The only ones I left out were documentation-only PRs, because we removed `doc/gitian-building.md` at some point. Here are the commits applied here, in the order shown in `git log` (ie. last to first): - bitcoin/bitcoin#7283 - fa42a67 - fa58c76 - bitcoin/bitcoin#8175 - 74c1347 - bitcoin/bitcoin#8167 - 7e7eb27 - ad38204 - b676f38 - bitcoin/bitcoin#7776 - f063863 - bitcoin/bitcoin#7424 - a81c87f ~ we already partly applied - a8ce872 - f3d3eaf ~ we already partly applied - 475813b - ~~cd27bf5~~ X we already applied - bitcoin/bitcoin#7060 - 3b468a0 ~ we removed doc/gitian-building.md - ~~99fda26~~ X we removed doc/gitian-building.md - bitcoin/bitcoin#7251 - fa09562 - bitcoin/bitcoin#6900 - ~~2cecb24~~ X we removed doc/gitian-building.md - 957c0fd - 2e31d74 - ~~0b416c6~~ X we removed QT - 9f251b7 - bitcoin/bitcoin#6854 - 579b863 ~ we already partly applied Part of #540
This removes the following executables from the binary gitian release: - test_bitcoin-qt[.exe] - bench_bitcoin[.exe] @jonasschnelli and me discussed this on IRC a few days ago - unlike the normal `bitcoin_tests` which is useful to see if it is safe to run bitcoin on a certain OS/environment combination, there is no good reason to include these. Better to leave them out to reduce the download size. Sizes from the 0.12 release: ``` 2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe 22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe ``` Github-Pull: #7776 Rebased-From: f063863
This removes the following executables from the binary gitian release:
@jonasschnelli and me discussed this on IRC a few days ago - unlike the normal
bitcoin_testswhich is useful to see if it is safe to run bitcoin on a certain OS/environment combination, there is no good reasonto include these. Better to leave them out to reduce the download size.
Sizes from the 0.12 release:
This adds an option
--disable-gui-teststo the build system.