mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-06 10:42:46 +01:00
Bugfix: Since test_bitcoin is being built and run inside src/test/, try using relative directories from that point
This commit is contained in:
@@ -19,7 +19,7 @@ bool
|
||||
read_block(const std::string& filename, CBlock& block)
|
||||
{
|
||||
namespace fs = boost::filesystem;
|
||||
fs::path testFile = fs::current_path() / "test" / "data" / filename;
|
||||
fs::path testFile = fs::current_path() / "data" / filename;
|
||||
#ifdef TEST_DATA_DIR
|
||||
if (!fs::exists(testFile))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user