diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-15 21:22:09 +0200 |
---|---|---|
committer | MeshCollider <dobsonsa68@gmail.com> | 2017-11-16 08:23:02 +1300 |
commit | 138016bf9275692995d37f707e5b83e0d7fed1a9 (patch) | |
tree | 8d76fe48cd560663526f21d77d93063678927b07 /src/test | |
parent | e7b31631c78a8fc021336c7ecda44f6bc4b4b1f1 (diff) |
test: refactor: Use absolute include paths for test data files
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/base58_tests.cpp | 6 | ||||
-rw-r--r-- | src/test/script_tests.cpp | 2 | ||||
-rw-r--r-- | src/test/sighash_tests.cpp | 2 | ||||
-rw-r--r-- | src/test/transaction_tests.cpp | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/test/base58_tests.cpp b/src/test/base58_tests.cpp index 78e85d04c6..3156cc53d0 100644 --- a/src/test/base58_tests.cpp +++ b/src/test/base58_tests.cpp @@ -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> diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 7a92889a6b..57b3e501af 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -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> diff --git a/src/test/sighash_tests.cpp b/src/test/sighash_tests.cpp index c2d7b768e9..d97e106287 100644 --- a/src/test/sighash_tests.cpp +++ b/src/test/sighash_tests.cpp @@ -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> diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 8ebd54499f..34a182722d 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -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> |