Skip to content

Commit fa8278e

Browse files
author
MarcoFalke
committed
test: Fix test_random includes
1 parent 0b2322b commit fa8278e

10 files changed

+10
-9
lines changed

src/Makefile.test.include

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ BITCOIN_TESTS =\
8484
test/streams_tests.cpp \
8585
test/test_bitcoin.cpp \
8686
test/test_bitcoin.h \
87+
test/test_random.h \
8788
test/testutil.cpp \
8889
test/testutil.h \
8990
test/timedata_tests.cpp \

src/test/coins_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include "coins.h"
6-
#include "test_random.h"
76
#include "script/standard.h"
87
#include "uint256.h"
98
#include "utilstrencodings.h"
109
#include "test/test_bitcoin.h"
10+
#include "test/test_random.h"
1111
#include "main.h"
1212
#include "consensus/validation.h"
1313

src/test/crypto_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#include "crypto/sha512.h"
1010
#include "crypto/hmac_sha256.h"
1111
#include "crypto/hmac_sha512.h"
12-
#include "test_random.h"
1312
#include "utilstrencodings.h"
1413
#include "test/test_bitcoin.h"
14+
#include "test/test_random.h"
1515

1616
#include <vector>
1717

src/test/merkle_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include "consensus/merkle.h"
66
#include "test/test_bitcoin.h"
7-
#include "test_random.h"
7+
#include "test/test_random.h"
88

99
#include <boost/test/unit_test.hpp>
1010

src/test/pmt_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include "uint256.h"
1010
#include "arith_uint256.h"
1111
#include "version.h"
12-
#include "test_random.h"
1312
#include "test/test_bitcoin.h"
13+
#include "test/test_random.h"
1414

1515
#include <vector>
1616

src/test/prevector_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
#include <vector>
66
#include "prevector.h"
7-
#include "test_random.h"
87

98
#include "serialize.h"
109
#include "streams.h"
1110

1211
#include "test/test_bitcoin.h"
12+
#include "test/test_random.h"
1313

1414
#include <boost/test/unit_test.hpp>
1515

src/test/sighash_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
#include "data/sighash.json.h"
77
#include "hash.h"
88
#include "main.h" // For CheckTransaction
9-
#include "test_random.h"
109
#include "script/interpreter.h"
1110
#include "script/script.h"
1211
#include "serialize.h"
1312
#include "streams.h"
1413
#include "test/test_bitcoin.h"
14+
#include "test/test_random.h"
1515
#include "util.h"
1616
#include "utilstrencodings.h"
1717
#include "version.h"

src/test/skiplist_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include "chain.h"
6-
#include "test_random.h"
76
#include "util.h"
87
#include "test/test_bitcoin.h"
8+
#include "test/test_random.h"
99

1010
#include <vector>
1111

src/test/util_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
#include "clientversion.h"
88
#include "primitives/transaction.h"
9-
#include "test_random.h"
109
#include "sync.h"
1110
#include "utilstrencodings.h"
1211
#include "utilmoneystr.h"
1312
#include "test/test_bitcoin.h"
13+
#include "test/test_random.h"
1414

1515
#include <stdint.h>
1616
#include <vector>

src/test/versionbits_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include "chain.h"
6-
#include "test_random.h"
76
#include "versionbits.h"
87
#include "test/test_bitcoin.h"
8+
#include "test/test_random.h"
99
#include "chainparams.h"
1010
#include "main.h"
1111
#include "consensus/params.h"

0 commit comments

Comments
 (0)