Skip to content

Commit

Permalink
Merge bitcoin#9095: test: Fix test_random includes
Browse files Browse the repository at this point in the history
fa8278e test: Fix test_random includes (MarcoFalke)
  • Loading branch information
jonasschnelli committed Nov 8, 2016
2 parents dc6b940 + fa8278e commit b8f43e3
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ BITCOIN_TESTS =\
test/streams_tests.cpp \
test/test_bitcoin.cpp \
test/test_bitcoin.h \
test/test_random.h \
test/testutil.cpp \
test/testutil.h \
test/timedata_tests.cpp \
Expand Down
2 changes: 1 addition & 1 deletion src/test/coins_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "coins.h"
#include "test_random.h"
#include "script/standard.h"
#include "uint256.h"
#include "utilstrencodings.h"
#include "test/test_bitcoin.h"
#include "test/test_random.h"
#include "main.h"
#include "consensus/validation.h"

Expand Down
2 changes: 1 addition & 1 deletion src/test/crypto_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "crypto/sha512.h"
#include "crypto/hmac_sha256.h"
#include "crypto/hmac_sha512.h"
#include "test_random.h"
#include "utilstrencodings.h"
#include "test/test_bitcoin.h"
#include "test/test_random.h"

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/test/merkle_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "consensus/merkle.h"
#include "test/test_bitcoin.h"
#include "test_random.h"
#include "test/test_random.h"

#include <boost/test/unit_test.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/test/pmt_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "uint256.h"
#include "arith_uint256.h"
#include "version.h"
#include "test_random.h"
#include "test/test_bitcoin.h"
#include "test/test_random.h"

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/test/prevector_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

#include <vector>
#include "prevector.h"
#include "test_random.h"

#include "serialize.h"
#include "streams.h"

#include "test/test_bitcoin.h"
#include "test/test_random.h"

#include <boost/test/unit_test.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/test/sighash_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
#include "data/sighash.json.h"
#include "hash.h"
#include "main.h" // For CheckTransaction
#include "test_random.h"
#include "script/interpreter.h"
#include "script/script.h"
#include "serialize.h"
#include "streams.h"
#include "test/test_bitcoin.h"
#include "test/test_random.h"
#include "util.h"
#include "utilstrencodings.h"
#include "version.h"
Expand Down
2 changes: 1 addition & 1 deletion src/test/skiplist_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "chain.h"
#include "test_random.h"
#include "util.h"
#include "test/test_bitcoin.h"
#include "test/test_random.h"

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/test/util_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

#include "clientversion.h"
#include "primitives/transaction.h"
#include "test_random.h"
#include "sync.h"
#include "utilstrencodings.h"
#include "utilmoneystr.h"
#include "test/test_bitcoin.h"
#include "test/test_random.h"

#include <stdint.h>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/test/versionbits_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "chain.h"
#include "test_random.h"
#include "versionbits.h"
#include "test/test_bitcoin.h"
#include "test/test_random.h"
#include "chainparams.h"
#include "main.h"
#include "consensus/params.h"
Expand Down

0 comments on commit b8f43e3

Please sign in to comment.