mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02: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:
parent
9a09c0091c
commit
1e9d3b1392
3 changed files with 6 additions and 3 deletions
|
|
@ -93,7 +93,7 @@ Array
|
|||
read_json(const std::string& filename)
|
||||
{
|
||||
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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue