diff options
-rw-r--r-- | doc/build-unix.md | 3 | ||||
-rw-r--r-- | qa/rpc-tests/README.md | 29 | ||||
-rw-r--r-- | src/compat.h | 10 | ||||
-rw-r--r-- | src/test/README.md (renamed from src/test/README) | 4 |
4 files changed, 26 insertions, 20 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md index 0f6f70aa2d..ab5fbad521 100644 --- a/doc/build-unix.md +++ b/doc/build-unix.md @@ -38,7 +38,7 @@ Licenses of statically linked libraries: Boost MIT-like license miniupnpc New (3-clause) BSD license -- For the versions used in this release, see doc/release-process.md under *Fetch and build inputs*. +- For the versions used in the release, see doc/release-process.md under *Fetch and build inputs*. System requirements -------------------- @@ -87,7 +87,6 @@ for other Ubuntu & Debian: sudo apt-get install libdb4.8-dev sudo apt-get install libdb4.8++-dev - sudo apt-get install libboost1.55-all-dev Optional: diff --git a/qa/rpc-tests/README.md b/qa/rpc-tests/README.md index 835ff11057..616c0525f4 100644 --- a/qa/rpc-tests/README.md +++ b/qa/rpc-tests/README.md @@ -1,22 +1,26 @@ Regression tests of RPC interface ================================= -python-bitcoinrpc: git subtree of https://github.com/jgarzik/python-bitcoinrpc +### [python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc) +Git subtree of [https://github.com/jgarzik/python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc). Changes to python-bitcoinrpc should be made upstream, and then -pulled here using git subtree +pulled here using git subtree. -skeleton.py : Copy this to create new regression tests. +### [skeleton.py](skeleton.py) +Copy this to create new regression tests. -listtransactions.py : Tests for the listtransactions RPC call +### [listtransactions.py](listtransactions.py) +Tests for the listtransactions RPC call. -util.py : generally useful functions +### [util.py](util.sh) +Generally useful functions. Bash-based tests, to be ported to Python: ----------------------------------------- -wallet.sh : Exercise wallet send/receive code. -walletbackup.sh : Exercise wallet backup / dump / import -txnmall.sh : Test proper accounting of malleable transactions -conflictedbalance.sh : More testing of malleable transaction handling +- wallet.sh : Exercise wallet send/receive code. +- walletbackup.sh : Exercise wallet backup / dump / import +- txnmall.sh : Test proper accounting of malleable transactions +- conflictedbalance.sh : More testing of malleable transaction handling Notes ===== @@ -32,5 +36,8 @@ test state. If you get into a bad state, you should be able to recover with: - rm -rf cache - killall bitcoind + +```bash +rm -rf cache +killall bitcoind +``` diff --git a/src/compat.h b/src/compat.h index 3924445b1a..8fbafb6cce 100644 --- a/src/compat.h +++ b/src/compat.h @@ -28,16 +28,16 @@ #include <windows.h> #include <ws2tcpip.h> #else +#include <sys/fcntl.h> +#include <sys/mman.h> +#include <sys/socket.h> #include <sys/types.h> +#include <net/if.h> +#include <netinet/in.h> #include <arpa/inet.h> #include <ifaddrs.h> #include <limits.h> -#include <net/if.h> #include <netdb.h> -#include <netinet/in.h> -#include <sys/fcntl.h> -#include <sys/mman.h> -#include <sys/socket.h> #include <unistd.h> #endif diff --git a/src/test/README b/src/test/README.md index 77f7faa815..7efce6f052 100644 --- a/src/test/README +++ b/src/test/README.md @@ -1,3 +1,4 @@ +# Notes The sources in this directory are unit test cases. Boost includes a unit testing framework, and since bitcoin already uses boost, it makes sense to simply use this framework rather than require developers to @@ -17,5 +18,4 @@ uint256_tests.cpp. For further reading, I found the following website to be helpful in explaining how the boost unit test framework works: - -http://www.alittlemadness.com/2009/03/31/c-unit-testing-with-boosttest/ +[http://www.alittlemadness.com/2009/03/31/c-unit-testing-with-boosttest/](http://www.alittlemadness.com/2009/03/31/c-unit-testing-with-boosttest/).
\ No newline at end of file |