Browse Source

test: refactor: Use absolute include paths for test data files

0.16
Wladimir J. van der Laan 7 years ago committed by MeshCollider
parent
commit
138016bf92
  1. 6
      src/test/base58_tests.cpp
  2. 2
      src/test/script_tests.cpp
  3. 2
      src/test/sighash_tests.cpp
  4. 4
      src/test/transaction_tests.cpp

6
src/test/base58_tests.cpp

@ -4,9 +4,9 @@ @@ -4,9 +4,9 @@
#include <base58.h>
#include <data/base58_encode_decode.json.h>
#include <data/base58_keys_invalid.json.h>
#include <data/base58_keys_valid.json.h>
#include <test/data/base58_encode_decode.json.h>
#include <test/data/base58_keys_invalid.json.h>
#include <test/data/base58_keys_valid.json.h>
#include <key.h>
#include <script/script.h>

2
src/test/script_tests.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <data/script_tests.json.h>
#include <test/data/script_tests.json.h>
#include <core_io.h>
#include <key.h>

2
src/test/sighash_tests.cpp

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
#include <consensus/tx_verify.h>
#include <consensus/validation.h>
#include <data/sighash.json.h>
#include <test/data/sighash.json.h>
#include <hash.h>
#include <script/interpreter.h>
#include <script/script.h>

4
src/test/transaction_tests.cpp

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <data/tx_invalid.json.h>
#include <data/tx_valid.json.h>
#include <test/data/tx_invalid.json.h>
#include <test/data/tx_valid.json.h>
#include <test/test_bitcoin.h>
#include <clientversion.h>

Loading…
Cancel
Save