Age | Commit message (Collapse) | Author |
|
|
|
This file is dynamically generated by configure based on the platform,
it doesn't belong in the distribution archive.
Fixes #6929.
|
|
The RPC tests (via `qa/pull-tester/rpc-tests.py`) are now executed,
when gathering code coverage data, for example with `make cov`.
Generating coverage data requires `lcov`, which can installed with:
sudo apt-get install lcov
To also use the BitcoinJ tests, get the test tool:
TOOL_URL=https://github.com/theuni/bitcoind-comparisontool/raw/master/pull-tests-8c6666f.jar
TOOL_HASH=a865332b3827abcde684ab79f5f43c083b0b6a4c97ff5508c79f29fee24f11cd
wget $TOOL_URL -O ./share/BitcoindComparisonTool.jar
echo "$TOOL_HASH ./share/BitcoindComparisonTool.jar" | shasum --algorithm 256 --check
The coverage data can be generated with:
./autogen.sh
./configure --enable-lcov --with-comparison-tool=./share/BitcoindComparisonTool.jar
make
make cov
Optionally the options `--enable-extended-rpc-tests` and
`--enable-comparison-tool-reorg-tests` may be used to enable more time
consuming tests.
It then runs the tests and generates two HTML reports:
- test_bitcoin.coverage/index.html
- total.coverage/index.html
|
|
The configuration option `--enable-comparison-tool-reorg-tests` may be
used to enable extended tests via BitcoinJ also for coverage testing.
|
|
Until now there were quite a few leftovers, and only the coverage
related files in `src/` were cleaned, while the ones in the other dirs
remained. `qa/tmp/` is related to the BitcoinJ tests, and `cache/` is
related to RPC tests.
|
|
1) created rpc-tests.py
2) deleted rpc-tests.sh
3) travis.yml points to rpc-tests.py
4) Modified Makefile.am
5) Updated README.md
6) Added tests_config.py and deleted tests-config.sh
7) Modified configure.ac with script to set correct path in tests_config.py
|
|
1) Multiplatorm support for devnull
2) Fixed a bug in the handling of cache files
3) Deleted run-bitcoin-cli as no longer needed
|
|
|
|
|
|
|
|
|
|
|
|
Also do a bit of cleanup:
- Make the background name a variable so it's easier to change
- Add proper make dependencies
|
|
eef747b libbitcoinconsensus: Add pkg-config support (Luke Dashjr)
|
|
|
|
This is a helper target that stops just before the creation of the dmg.
|
|
|
|
|
|
They're unused since the switch to Travis
|
|
|
|
Update .gitignore.
|
|
The binary builds can clobber eachother, so use a single subdir dependency
instead.
|
|
|
|
|
|
Otherwise travis thinks the build has stalled.
|
|
Note: This is added to our existing automake targets rather than as a
libtool-style lib. The switch to libtool-style targets can come later if it
proves to not add any complications.
|
|
Fixes #3955. It's hackish, but seems to always function as expected. Examples:
make src/bitcoind
make src/qt/bitcoin-qt
make src/libbitcoin.a
|
|
Rebased-From: 74df0f5
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
|
|
This should show how to run a python-based regression test
successfully in the pull-tester environment.
|
|
Use INSTALL_DATA rather than INSTALL for copying non executable files in
OS X application bundle.
Tested by running "all appbundle" make target and trying the resulting
application bundle, host system is OS X 10.9.2 .
|
|
|
|
|
|
Adds the historical release notes to release tarballs and windows
installers.
|
|
No-one uses the installer then builds from source.
Closes #2819.
|
|
|
|
|
|
|
|
|
|
* Use the latest version, with limited memory usage, and path to
on-disk db (try mouting qa/tmp on a tmpfs)\
* enable -debug=net
* re-enable BitcoindComparisonTool in pull-tester
|
|
Adds an 'appbundle' target that creates a top-level Bitcoin-Qt.app/
Modifies the 'deploy' target so that it leaves behind Bitcoin-Qt.app;
make clean will remove it.
|
|
|