diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2013-09-10 23:04:45 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2013-09-10 23:04:56 +0000 |
commit | 1e9d3b1392b604fafc6802e4d43469f519d14424 (patch) | |
tree | 080d4cbc834eb27bbe87435959700020cde9705b /src/test/checkblock_tests.cpp | |
parent | 9a09c0091c33a8f22f48b5e6e5b8f3b400c43ff3 (diff) |
Bugfix: Since test_bitcoin is being built and run inside src/test/, try using relative directories from that point
Diffstat (limited to 'src/test/checkblock_tests.cpp')
-rw-r--r-- | src/test/checkblock_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/checkblock_tests.cpp b/src/test/checkblock_tests.cpp index 5675c40e76..e34680db99 100644 --- a/src/test/checkblock_tests.cpp +++ b/src/test/checkblock_tests.cpp @@ -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)) { |