diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-08-29 12:52:19 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-08-29 12:52:41 +0200 |
commit | 1f77c5c3e7c02db27d1046d02e4a6129d236b8a8 (patch) | |
tree | f075b395bbbdd51cd405074ee7464a40d4fa7d65 /src | |
parent | fc5b756bae26db5e88bd6ed15e2eb45b05e76bdd (diff) | |
parent | fa27372e65359f12bea9ac0680d6bcb96680dda8 (diff) | |
download | bitcoin-1f77c5c3e7c02db27d1046d02e4a6129d236b8a8.tar.xz |
Merge #16739: ci: Pass down $MAKEJOBS to test_runner.py, other improvements
fa27372e65359f12bea9ac0680d6bcb96680dda8 ci: Move CCACHE_DIR and test_runner tmp dir into ./ci/scratch/ (MarcoFalke)
fa60583d23653ca02c8071934a35964bd31fcc2b ci: Pass down $MAKEJOBS to test_runner.py (MarcoFalke)
Pull request description:
Some changes to the ci system:
* Pass down MAKEJOBS to the test_runner, instead of falling back to the default of 4. Passing it down avoids OOM on weak machines and allows better use of resources on beefy machines.
* Move CCACHE_DIR to ./ci/scratch/ subfolder: `ccache` is executed with root permissions inside the docker, so the cache files are created with root as owner. So it might be wise to not put them in the $HOME of the host
* Use the scratch dir as prefix for the test runner, as opposed to `/tmp/`, which is often a ramdisk and thus leads to OOM on the host when either a lot of tests are run in parallel or when a lot of tests fail and the datadirs are not cleaned.
ACKs for top commit:
fanquake:
ACK fa27372e65359f12bea9ac0680d6bcb96680dda8
laanwj:
ACK fa27372e65359f12bea9ac0680d6bcb96680dda8
Tree-SHA512: 67834fbab282051ec81c319d460528b32870507e53df2b8a1ce9a1f3f6a685aaf8eb8ba03f5406918ca4a33adf736e6a4adad7134c54cf3a9e47a26c64a13442
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions